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
+8
View File
@@ -90,12 +90,20 @@ export class PathValidationError extends OllamaError {
// Plugin Configuration
// ============================================================
export interface CacheConfig {
enabled: boolean;
similarityThreshold: number;
collectionName: string;
embeddingModel: string;
}
export interface PluginSettings {
ollamaUrl: string;
model: string;
vaultSearchLimit: number;
maxMessageHistory: number;
lastIndexTime: number;
cacheConfig: CacheConfig;
}
// ============================================================