Suggest saving a memory when a chat message holds something worth remembering
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go, react, typescript
- Lĩnh vực
- ai, backend-api-design, frontend
Hướng nghiên cứu
Start with internal/ai/agentproxy/memory.go and ui/src/features/chat/MemoryNote.tsx, then trace how the chat saves memories and how the memory settings page displays them. The linked pull request #138 is already open, so check its coverage of the acceptance criteria before taking this on. Done means model-proposed suggestions can be edited, saved or dismissed, with tests for those flows and the specified exclusions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Let the model decide when a message holds something worth remembering, such as a preference, a fact about the person or their work, or a standing instruction. When the model flags one, the chat shows a block under the message that asks whether to save it as a memory. Today a memory is stored as written only when the message starts with remember: or please remember that. That is the rememberRE check in internal/ai/agentproxy/memory.go, mirrored in ui/src/features/chat/MemoryNote.tsx. This covers the gateway's memory handling, the chat UI, and the memory settings page where saved memories show.
Motivation
- Few people know to start a message with
remember:. Most things worth keeping get said in passing ("I'm the sales lead for the EMEA region", "always use metric units"). - The model can judge what is worth keeping from context, which a fixed phrase or pattern cannot.
- Asking before saving keeps the person in control of what is stored about them, instead of storing it silently.
- One click to save is quicker than retyping the fact with a trigger phrase.
- Today the chat can only report "Saving to memory" after the fact, by polling. A suggestion block gives a clear, immediate outcome.
Acceptance Criteria
- The model decides whether a message is worth remembering and proposes the memory's text. Keyword or pattern matching is not used to decide.
- When the model proposes a memory, the chat shows a block under it with the suggested memory text and Save and Dismiss actions.
- The person can edit the suggested text before saving.
- Save stores the memory and the block confirms it, with a link to the person's memories. Dismiss hides the block, and the same suggestion does not come back.
- Questions, one-off requests, and messages already stored with
remember:do not get a suggestion. Suggestions do not repeat a memory the person already has. - No suggestion shows when memory is off or pi runs on the person's own key, which matches when the Memory chip is hidden today.
- Tests cover a message that should get a suggestion, one that should not, save, edit, and dismiss.
- Ngôn ngữ chính
- Go
- Star
- 5
- Fork
- 0
- Merge trung bình
- 21 giờ 13 phút
- Pull request đã merge (30 ngày)
- 53
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nebari-dev/tapas
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nebari-dev/tapas#124 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nebari-dev/tapas#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
nebari-dev/tapas#32 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 54/100
nebari-dev/tapas#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: enhancement 💅🏼
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
nebari-dev/tapas#133 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nebari-dev/tapas
Issue tương tự
-
--auto-tier: hashing, dedup, resume validation and DVC/git reads still update atime on LinuxĐang mởarea: pipeline priority: low type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
prime-radiant-inc/evener#8335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
ui: OnTextKey on SearchField never sees keys (it does not reach the inner input)Có thể đã có người làm @szluyu99 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100