Closed TechPunk316 closed 1 year ago
Did you create a .env file in the client directory with your API key in it? Inside the file you will want to have a variable like REACT_APP_OPENAI_KEY=theapikey
Thanks for getting back to me. Yup I called it OpenAIkey.env. Should that be ok?
Can you try renaming it to just .env? Since it is using react, I believe it will be looking for just .env in the client directory.
And the variable inside will have to be REACT_APP_OPENAI_KEY=whateveryourkeyis
because in the code it is using process.env.REACT_APP_OPENAI_KEY
Thanks so much - that worked!
Hey this is a greate project! I set this up and it runs but I can't seem to ask any questions? I'm using Firefox - am I doing something wrong? When I press enter after asking a question nothing happens...Any help appreciated