gia-guar / JARVIS-ChatGPT

A Conversational Assistant equipped with synthetic voices including J.A.R.V.I.S's. Powered by OpenAI and IBM Watson APIs and a Tacotron model for voice generation.
MIT License
392 stars 92 forks source link

S2_API_KEY error #17

Open Babygirl12481 opened 1 year ago

Babygirl12481 commented 1 year ago

I apoligize for bringing this to your attention as I know your away from the project. I think I am missing something here, I keep ketting a missing S2_API_KEY = os.environ['S2_API_KEY'] error. It will not load past this point, I cant seem to find the problem. Am I being blind here? Located in Assistant/semantic_scholar/simple.py. Again sorry for dragging you back to the project, I know your busy with other things. Thank you for taking the time.

gia-guar commented 1 year ago

Hi, no worries. The S2 Api Key is necessary to do scientific paper research in the 'Research Mode'. The error you are recieving is associated to the fact that I didn't updated the .env file with the empty S2_API_KEY field.

Thank you for bringing this up, I updated the .env.txt in the project. If you happen to have similar errors with API KEYS missing you should just add an empty field in the .env like this API_KEY = ''