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
{{ message }}
Repository navigation
"Failed to get response from /generate endpoint of chain-server. Check if the fastapi server in chain-server is up. Refer to chain-server logs for details." #232
When I run the langchain example, the docker command can run successfully.
But when I use the brower to chat. It will report "Failed to get response from /generate endpoint of chain-server. Check if the fastapi server in chain-server is up. Refer to chain-server logs for details.".
I get the same message for the GenerativeAIExamples/RAG/examples/basic_rag/llamaindex.
Message: "Failed to get response from /generate endpoint of chain-server. Check if the fastapi server in chain-server is up. Refer to chain-server logs for details."
I get the same message for the GenerativeAIExamples/RAG/examples/basic_rag/llamaindex. Message: "Failed to get response from /generate endpoint of chain-server. Check if the fastapi server in chain-server is up. Refer to chain-server logs for details."
Somehow the export of the NVIDIA_API_KEY was ignored. I repeated the export and the error was not shown anymore.
There seems to be a missing dependency issue in the RAG/src/chain-server/tracing.py file at the following location:
from RAG.tools.observability.langchain import opentelemetry_callback as langchain_otel_cb
from RAG.tools.observability.llamaindex import opentelemetry_callback as llama_index_otel_cb
When I inspect the exited chain-server container, I see the following error:
from RAG.tools.observability.langchain import opentelemetry_callback as langchain_otel_cb
2024-11-09 11:38:58 ModuleNotFoundError: No module named 'RAG.tools.observability'
Activity
MarkoBrie commentedon Nov 6, 2024
I get the same message for the GenerativeAIExamples/RAG/examples/basic_rag/llamaindex.
Message: "Failed to get response from /generate endpoint of chain-server. Check if the fastapi server in chain-server is up. Refer to chain-server logs for details."
MarkoBrie commentedon Nov 6, 2024
Somehow the export of the NVIDIA_API_KEY was ignored. I repeated the export and the error was not shown anymore.
thalapandi commentedon Nov 6, 2024
https://python.langchain.com/docs/integrations/chat/nvidia_ai_endpoints/
lbliii commentedon Nov 9, 2024
There seems to be a missing dependency issue in the
RAG/src/chain-server/tracing.pyfile at the following location:When I inspect the exited
chain-servercontainer, I see the following error:feat: add local gpu allocation (NVIDIA#232)