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

[Bug] error running index.ts in vector #137

Open
3 of 4 tasks
billguo2022 opened this issue Dec 23, 2024 · 3 comments
Open
3 of 4 tasks

[Bug] error running index.ts in vector #137

billguo2022 opened this issue Dec 23, 2024 · 3 comments

Comments

@billguo2022
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

i got this error after running bun run index.ts: 6 | if (embeddingHost) {
7 | host = embeddingHost;
8 | } else if (memfreeHost) {
9 | host = ${memfreeHost}/embedding;
10 | } else {
11 | throw new Error("Neither MEMFREE_HOST nor EMBEDDING_HOST is defined");
^
error: Neither MEMFREE_HOST nor EMBEDDING_HOST is defined

Expected behavior

not sure

Add Screenshots

No response

On which device are you experiencing this bug?

No response

Record

  • I have read the Contributing Guidelines
  • I have starred the repository
  • I would like to work on this
@billguo2022 billguo2022 added the bug Something isn't working label Dec 23, 2024
Copy link
Contributor

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@ahaapple
Copy link
Contributor

ahaapple commented Dec 23, 2024

OPENAI_API_KEY=

Hi, you need to set the OPENAI_API_KEY in the env file of vector dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@billguo2022 @ahaapple and others