Weixin-Liang / LLM-scientific-feedback

Can large language models provide useful feedback on research papers? A large-scale empirical analysis.
Creative Commons Attribution 4.0 International
489 stars 49 forks source link

API issue #19

Closed jianke22 closed 10 months ago

jianke22 commented 10 months ago

I got the following error message: Failed to generate review... Error: You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.

image

Anyone knows what is the solution?

yuhui-zh15 commented 10 months ago

Please add OpenAI api key by: cat YOUR_OPENAI_API_KEY > key.txt

Replace YOUR_OPENAI_API_KEY with your OpenAI API key starting with "sk-"