DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🐛 Bug Report: Error While trying to generate a response Local LLM

Open Aiman-astios opened this issue 2 years ago • 5 comments

📜 Description

This error popped up when DocsGPT trying to response.

👟 Reproduction steps

  1. execute setup.sh 2. ask question on the web browser. 3. got 500 error and message Something went wrong. Please try again later. 4. check on the logs found the cause (image attached above).

👍 Expected behavior

it should response to the question.

👎 Actual Behavior with Screenshots

image

image

💻 Operating system

Linux

What browsers are you seeing the problem on?

Chrome

🤖 What development environment are you experiencing this bug on?

Local dev server

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

No response

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Aiman-astios avatar Oct 31 '23 02:10 Aiman-astios

In settings change this line: EMBEDDINGS_NAME: str = "openai_text-embedding-ada-002" by this one: EMBEDDINGS_NAME: str = "huggingface_sentence-transformers/all-mpnet-base-v2"

Antonio-Vela avatar Oct 31 '23 06:10 Antonio-Vela

Also please upload your own docs. as default ones use the openai embeddings

dartpain avatar Oct 31 '23 13:10 dartpain

In settings change this line: EMBEDDINGS_NAME: str = "openai_text-embedding-ada-002" by this one: EMBEDDINGS_NAME: str = "huggingface_sentence-transformers/all-mpnet-base-v2"

Orait thanks for that insight will test it out.

Aiman-astios avatar Nov 01 '23 05:11 Aiman-astios

Also please upload your own docs. as default ones use the openai embeddings

owh thanks for the information, but when i upload my custom docs other issue arise where the response take too long to have a feedback and i think Antonio-Vela idea will solved that issue.

Aiman-astios avatar Nov 01 '23 05:11 Aiman-astios

What issue did you get @Aiman-astios

dartpain avatar Nov 10 '23 16:11 dartpain