faiss-node icon indicating copy to clipboard operation
faiss-node copied to clipboard

Vector store initial

Open Genuifx opened this issue 1 year ago • 0 comments

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.

Genuifx avatar May 13 '24 11:05 Genuifx