mayooear / gpt4-pdf-chatbot-langchain

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

Only responds once #131

Closed lucastzuka closed 1 year ago

lucastzuka commented 1 year ago

When I ask the first question, the chat responds. But when I ask the second question, the chat avatar appears and the text box appears, but it remains blank, there is no response.

Jstaho commented 1 year ago

same

danielreiser commented 1 year ago

You probably don't have access to the GPT-4 api yet. change the modelName to e.g. gpt-3.5-turbo in utils/makechain.ts:36. This should do the trick.

dosubot[bot] commented 1 year ago

Hi, @lucastzuka. 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.

From what I understand, you reported an issue where the chatbot only responds to the first question asked and does not provide a response for subsequent questions. Jstaho also mentioned experiencing the same issue. In response, danielreiser suggested changing the modelName to gpt-3.5-turbo in utils/makechain.ts:36 as a possible solution. It seems that this solution has resolved the issue.

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 this issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your contribution, and we look forward to hearing from you soon.

Best regards, Dosu