fix: knowledge base bugs

This commit is contained in:
kangfenmao
2024-12-24 12:41:58 +08:00
parent 705db03290
commit b8fa613af5
6 changed files with 15 additions and 5 deletions
+1
View File
@@ -27,6 +27,7 @@ class KnowledgeService {
}
private getRagApplication = async ({ id, model, apiKey, baseURL }: KnowledgeBaseParams): Promise<RAGApplication> => {
console.debug('getRagApplication', path.join(this.storageDir, id))
return new RAGApplicationBuilder()
.setModel('NO_MODEL')
.setEmbeddingModel(