diff --git a/src/main/services/KnowledgeService.ts b/src/main/services/KnowledgeService.ts index b8af2e74b..655ff86b4 100644 --- a/src/main/services/KnowledgeService.ts +++ b/src/main/services/KnowledgeService.ts @@ -45,14 +45,14 @@ class KnowledgeService { azureOpenAIApiDeploymentName: model, azureOpenAIApiInstanceName: getInstanceName(baseURL), dimensions, - batchSize: 15 + batchSize: 10 }) : new OpenAiEmbeddings({ model, apiKey, configuration: { baseURL }, dimensions, - batchSize: 15 + batchSize: 10 }) ) .setVectorDatabase(new LibSqlDb({ path: path.join(this.storageDir, id) }))