You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
amouc@docsgpt:~/DocsGPT$ vi deployment/docker-compose.yaml
The text was updated successfully, but these errors were encountered: