mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
initialize embeddings if option is enabled
This commit is contained in:
@@ -47,20 +47,26 @@ export interface OptionDefinitions extends KeyboardShortcutsOptions<KeyboardActi
|
||||
encryptedDataKey: string;
|
||||
|
||||
// AI/LLM integration options
|
||||
aiEnabled: string;
|
||||
aiEnabled: boolean;
|
||||
openaiApiKey: string;
|
||||
openaiDefaultModel: string;
|
||||
openaiBaseUrl: string;
|
||||
anthropicApiKey: string;
|
||||
anthropicDefaultModel: string;
|
||||
anthropicBaseUrl: string;
|
||||
ollamaEnabled: string;
|
||||
ollamaEnabled: boolean;
|
||||
ollamaBaseUrl: string;
|
||||
ollamaDefaultModel: string;
|
||||
aiProviderPrecedence: string;
|
||||
aiTemperature: string;
|
||||
aiSystemPrompt: string;
|
||||
|
||||
// Embedding-related options
|
||||
embeddingAutoUpdateEnabled: boolean;
|
||||
embeddingUpdateInterval: number;
|
||||
embeddingBatchSize: number;
|
||||
embeddingDefaultDimension: number;
|
||||
|
||||
lastSyncedPull: number;
|
||||
lastSyncedPush: number;
|
||||
revisionSnapshotTimeInterval: number;
|
||||
|
||||
Reference in New Issue
Block a user