bhaskatripathi / pdfGPT

PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The most effective open source solution to turn your pdf files in a chatbot!
https://huggingface.co/spaces/bhaskartripathi/pdfGPT_Turbo
MIT License
6.98k stars 837 forks source link

confused by the API host #70

Open bubugamer opened 1 year ago

bubugamer commented 1 year ago

I've tried https://api.openai.com, https://api.openai.com/v1, https://api.openai.com/v1/completions, all these requests return : File "D:\workspace\pdfGPT\app.py", line 49, in ask_api raise ValueError(f'[ERROR]: {r.text}') ValueError: [ERROR]: { "error": { "message": "Invalid URL (POST /v1/ask_url)", "type": "invalid_request_error", "param": null, "code": null } }__

afredzhou commented 11 months ago

The same