summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
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"`