We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0edacec + 3b5f989 commit 54618c2Copy full SHA for 54618c2
server/services/openai.js
@@ -53,7 +53,6 @@ class OpenAiService {
53
}
54
55
const docs = await loader.load();
56
- this.vectorStore = await HNSWLib.fromDocuments(docs, new OpenAIEmbeddings());
57
58
const baseCompressor = LLMChainExtractor.fromLLM(this.model);
59
this.vectorStore = await HNSWLib.fromDocuments(docs, new OpenAIEmbeddings());
0 commit comments