Mohammad Riyan
Results
3
comments of
Mohammad Riyan
Guys Any Solution?
@joaotextor try this this one works for me `import { MemoryVectorStore } from 'langchain/vectorstores/memory';` `const embeddings = new OpenAIEmbeddings();` `const store = await MemoryVectorStore.fromDocuments(docs, embeddings);`
> I had the same problem, but in the end I ended up using: import { MemoryVectorStore } from 'langchain/vectorstores/memory'; > > const embeddings = new OpenAIEmbeddings(); const store =...