-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
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

