No Openai key found....
kkohlmannY opened this issue · 4 comments
kkohlmannY commented
Hi, I am getting the following error when trying to run npm start.
/babyagijs/node_modules/langchain/dist/llms/openai.js:131
throw new Error("OpenAI API key not found");
^
Error: OpenAI API key not found
at OpenAI (C:\Users\kkohl\Documents\GitHub\babyagijs\node_modules\langchain\src\llms\openai.ts:149:13)
at (c:\Users\kkohl\Documents\GitHub\babyagijs\src\index.ts:15:13)
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
Node.js v19.9.0
does this support gpt-3.5 or only gpt-4 ?
ericciarla commented
What does your .env look like?
kallebornemark commented
@ericciarla There was nothing about .env
in the instructions.
ericciarla commented
I will add more on the .env soon
ericciarla commented
@kkohlmannY @kallebornemark I added a .env.example to the repo :)