Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector store initial #51

Open
Genuifx opened this issue May 13, 2024 · 0 comments
Open

Vector store initial #51

Genuifx opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Genuifx
Copy link

Genuifx commented May 13, 2024

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 Genuifx added the bug Something isn't working label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant