You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting below error while running, Do we need to add anything apart from OPEN_AI_KEY ?
asj@asj-mac in ~/Desktop/ai-project/asj-langchain-qa > node --env-file=.env app.js "I lost my watch, what I need to do next?"
file:///Users/asj/Desktop/ai-project/asj-langchain-qa/node_modules/@langchain/openai/dist/embeddings.js:104
throw new Error("OpenAI or Azure OpenAI API key not found");
^
Error: OpenAI or Azure OpenAI API key not found
at new OpenAIEmbeddings (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/node_modules/@langchain/openai/dist/embeddings.js:104:19)
at createStore (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:14:48)
at loadStore (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:31:10)
at async query (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:35:17)
The text was updated successfully, but these errors were encountered:
I am getting below error while running, Do we need to add anything apart from OPEN_AI_KEY ?
asj@asj-mac in ~/Desktop/ai-project/asj-langchain-qa > node --env-file=.env app.js "I lost my watch, what I need to do next?"
file:///Users/asj/Desktop/ai-project/asj-langchain-qa/node_modules/@langchain/openai/dist/embeddings.js:104
throw new Error("OpenAI or Azure OpenAI API key not found");
^
Error: OpenAI or Azure OpenAI API key not found
at new OpenAIEmbeddings (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/node_modules/@langchain/openai/dist/embeddings.js:104:19)
at createStore (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:14:48)
at loadStore (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:31:10)
at async query (file:///Users/asj/Desktop/ai-project/asj-langchain-qa/app.js:35:17)
The text was updated successfully, but these errors were encountered: