mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.74k stars 3k forks source link

error SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON #386

Closed zinxor closed 7 months ago

zinxor commented 11 months ago

I have a PDF doc added to the vectorestore (pinecone) but once I write a question I'm seeing this as an error in the console

error SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

image

And the UI is showing: An error occurred while fetching the data. Please try again.

Any suggestions here?

dosubot[bot] commented 8 months ago

Hi, @zinxor. I'm Dosu, and I'm helping the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

Based on my understanding, you reported an issue where a syntax error occurs in the console when trying to write a question in a PDF document added to the vectorestore. The UI also displays an error message. However, there hasn't been any activity or suggestions for a solution yet.

Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding.