Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong. Please check your internet connection. #1622

Open
amou1017 opened this issue Feb 7, 2025 · 1 comment
Open

Something went wrong. Please check your internet connection. #1622

amou1017 opened this issue Feb 7, 2025 · 1 comment

Comments

@amou1017
Copy link

amou1017 commented Feb 7, 2025

Hello
I followed this document to install DocsGPT on ubuntu-24.04, but when asking the question I got the following error message
"Something went wrong. Please check your internet connection."
The error message displayed on the terminal

backend_1 | [2025-02-07 08:39:04,785] ERROR in routes: /api/answer - error: No LLM class found for type - traceback: Traceback (most recent call last):
backend_1 | File "/app/application/api/answer/routes.py", line 495, in post
backend_1 | for line in retriever.gen():
backend_1 | File "/app/application/retriever/classic_rag.py", line 86, in gen
backend_1 | agent = Agent(
backend_1 | ^^^^^^
backend_1 | File "/app/application/tools/agent.py", line 11, in init
backend_1 | self.llm = LLMCreator.create_llm(
backend_1 | ^^^^^^^^^^^^^^^^^^^^^^
backend_1 | File "/app/application/llm/llm_creator.py", line 30, in create_llm
backend_1 | raise ValueError(f"No LLM class found for type {type}")
backend_1 | ValueError: No LLM class found for type

Does anyone know the reason?
The attachment is my settings

amouc@docsgpt:~/DocsGPT$ vi .env

API_KEY=sk-proj-vEuP-xBgZaSYQf9kuyx3N5E73Z47XbPCbC9UQUo2D3EqaUahRvJ0UVNnc3XHt3NoT_9fsGEBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
LLM_NAME=openai
VITE_API_STREAMING=true

amouc@docsgpt:~/DocsGPT$ vi deployment/docker-compose.yaml


![Image](https://github.com/user-attachments/assets/e2caed9c-ecef-4ffa-a7a2-a1cdd133b552)
![Image](https://github.com/user-attachments/assets/fe4d7a88-975e-441a-805c-a7b04d5b56b4)

@ManishMadan2882
Copy link
Collaborator

Could you please share the issue in Discord https://discord.gg/5AqE3WkP ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants