summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-06 11:20:50 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-06 11:20:50 +0300
commitf9866bcf5a7369e28246d51b951e81b5b2a8489f (patch)
treec09c3f4b0588a39735f19c61cf386195a1797604 /config
parent822cc48834f5f1908f619b5441ae40946aceb86d (diff)
Feat (rag): hybrid search attempt
Diffstat (limited to 'config')
-rw-r--r--config/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 29d5744..fab3237 100644
--- a/config/config.go
+++ b/config/config.go
@@ -40,9 +40,10 @@ type Config struct {
EmbedTokenizerPath string `toml:"EmbedTokenizerPath"`
EmbedDims int `toml:"EmbedDims"`
// rag settings
- RAGDir string `toml:"RAGDir"`
- RAGBatchSize int `toml:"RAGBatchSize"`
- RAGWordLimit uint32 `toml:"RAGWordLimit"`
+ RAGDir string `toml:"RAGDir"`
+ RAGBatchSize int `toml:"RAGBatchSize"`
+ RAGWordLimit uint32 `toml:"RAGWordLimit"`
+ RAGOverlapWords uint32 `toml:"RAGOverlapWords"`
// deepseek
DeepSeekChatAPI string `toml:"DeepSeekChatAPI"`
DeepSeekCompletionAPI string `toml:"DeepSeekCompletionAPI"`