paper-qa icon indicating copy to clipboard operation
paper-qa copied to clipboard

OpenAI communication issue

Open rubayatkhan opened this issue 2 years ago • 1 comments

I have a paid account and my API key works on the HuggingFace demo, but when I try to call paperqa from my python code I'm getting the OpenAI communication failure and timeout:

openai.error.APIConnectionError: Error communicating with OpenAI

Kindly help!

rubayatkhan avatar Jun 09 '23 15:06 rubayatkhan

Hard to say without more info. Note that sometimes OpenAI is overloeaded

whitead avatar Jun 14 '23 11:06 whitead

Hello @rubayatkhan we have just released version 5, which completely outsources all LLM management (including OpenAI stuff) to https://github.com/BerriAI/litellm.

If your issue persists, please reopen a new issue using paper-qa>=5

jamesbraza avatar Sep 11 '24 18:09 jamesbraza