faiss-node
faiss-node copied to clipboard
Vector store initial
Describe the bug with langchain
const vectorStore = new FaissStore(new OpenAIEmbeddings());
const autogpt = AutoGPT.fromLLMAndTools(...);
autogpt.run(['goals']);
throw new Error("Vector store not initialised yet. Try calling `fromTexts`, `fromDocuments` or `fromIndex` first.");
^
Error: Vector store not initialised yet. Try calling `fromTexts`, `fromDocuments` or `fromIndex` first.
Environment:
- mac os arm
- Nodejs Version: 20.10.0
- Package Version: "faiss-node": "^0.5.1",
To Reproduce FYI
Expected behavior should run
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.