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

S2_API_KEY error #17

Open
Babygirl12481 opened this issue Sep 6, 2023 · 1 comment
Open

S2_API_KEY error #17

Babygirl12481 opened this issue Sep 6, 2023 · 1 comment

Comments

@Babygirl12481
Copy link

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
Copy link
Owner

gia-guar commented Sep 7, 2023

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 = ''

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

2 participants