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

OpenAI API key required when using Replicate #101

Open
creact opened this issue Oct 16, 2023 · 0 comments
Open

OpenAI API key required when using Replicate #101

creact opened this issue Oct 16, 2023 · 0 comments

Comments

@creact
Copy link

creact commented Oct 16, 2023

Getting the following error when running: npm run generate-embeddings-pinecone:

Error: (Azure) OpenAI API key not found
at new OpenAIEmbeddings (file:///workspaces/companion-app/node_modules/langchain/dist/embeddings/openai.js:73:19)
at file:///workspaces/companion-app/src/scripts/indexPinecone.mjs:47:3
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This is my code referring to Replicate

OpenAI related environment variables

OPENAI_API_KEY=sk-****

Replicate related environment variables

REPLICATE_API_TOKEN=****

After checking the project demo, I have noticed that the project seems broken. No replies are received after text input.

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

No branches or pull requests

1 participant