Add semantic cache support using ChromaDB

This commit is contained in:
2026-05-07 20:53:28 +02:00
parent 667553ee9d
commit b37aaeb4d4
10 changed files with 1343 additions and 256 deletions
+6
View File
@@ -6,4 +6,10 @@ export const DEFAULT_SETTINGS = {
vaultSearchLimit: 3,
maxMessageHistory: 50,
lastIndexTime: 0,
cacheConfig: {
enabled: false,
similarityThreshold: 0.85,
collectionName: 'ollama_semantic_cache',
embeddingModel: 'nomic-embed-text',
},
};