Skip to content

Commit 2e11a64

Browse files
feat(chat-cli): Add knowledge tool for persistent context storage (#101)
Implement a knowledge tool that allows users to store and retrieve information across chat sessions. This tool provides semantic search capabilities for files, directories, and text content. Key features: Add files or directories to knowledge base Show all stored knowledge contexts Remove contexts by name, ID, or path Update existing contexts with new content Clear all knowledge contexts Search across all contexts with semantic search Background indexing Feature is behind a Setting: To enable it is required to run: q settings chat.enableKnowledge true Co-authored-by: Kenneth S. <[email protected]>
1 parent 42b1676 commit 2e11a64

File tree

22 files changed

+4436
-37
lines changed

22 files changed

+4436
-37
lines changed

Cargo.lock

Lines changed: 1077 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ members = [
99
"tests/fig-api/fig-api-mock",
1010
"tests/figterm2",
1111
]
12-
exclude = ["crates/semantic_search_client"]
1312

1413
[workspace.package]
1514
authors = [

crates/chat-cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ rustyline = { version = "15.0.0", features = [
114114
"derive",
115115
"with-file-history",
116116
], default-features = false }
117+
semantic_search_client = { path = "../semantic_search_client" }
117118
semver = { version = "1.0.26", features = ["serde"] }
118119
serde = { version = "1.0.219", features = ["derive", "rc"] }
119120
serde_json = "1.0.140"

0 commit comments

Comments
 (0)