Commit 66f2d74
feat(chat): Add memory command primitives to Q CLI (#1657)
* feat(chat): Add memory command primitives to Q CLI
Implement memory management commands that utilize embeddings and vector in-memory storage:
- Add `/memory add` command to select and add files to memory
- Add `/memory rm` command to remove items from memory
- Improve search results formatting with additional newline
These memory primitives enhance the Q CLI's ability to maintain
contextual awareness across chat sessions by allowing users to
explicitly manage what information is remembered. The implementation
leverages vector embeddings for semantic search capabilities and
in-memory vector storage for efficient retrieval of relevant context.
The feature supports both interactive `/memory` commands and primitive
tool interfaces, providing flexibility for different usage patterns.
Additionally, it handles multiple file extensions for both text and
code files, ensuring comprehensive support across various file types
in the user's development environment.
This approach enables more intelligent and context-aware responses
by maintaining a semantic understanding of stored information rather
than simple keyword matching.
🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer)
* fix: FIxes conflic merge issue
* Also disables loading bar for model loading
* fix: typo
* fix: format and clippy issues
* fix: format and clippy issues
* Also added chunker lost by Q CLI translation
* * [fix] Format
* fix: Test issue
* [fix] changes to hf-hub-rustls-tls
* open-ssl is explicitly blocked
---------
Co-authored-by: Kenneth Sanchez V <[email protected]>1 parent 198bfcc commit 66f2d74
File tree
20 files changed
+3430
-10
lines changed- crates
- memory_bank_client
- src
- tests
- q_chat
- src
- tools
20 files changed
+3430
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
0 commit comments