-
Notifications
You must be signed in to change notification settings - Fork 222
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
[Bug] Translation example : Connection to UI failed #1382
Comments
From the log, the llm_endpoint is not set correctly. The GenAIExamples are being refactored recently, the document and environment variables may not be updated. Let me know how you set environment variables etc.
|
Can I please know how I can set it? Is it in the documentation?
…________________________________
From: xiguiw ***@***.***>
Sent: Monday, January 13, 2025 1:28 AM
To: opea-project/GenAIExamples ***@***.***>
Cc: Ratneshwaran, Shankar ***@***.***>; Mention ***@***.***>
Subject: Re: [opea-project/GenAIExamples] [Bug] Translation example : Connection to UI failed (Issue #1382)
@ShankarRIntel<https://github.com/ShankarRIntel>
From the log, the llm_endpoint is not set correctly.
The GenAIExamples are being refactored recently, the document and environment variables may not be updated.
Let me know how you set environment variables etc.
�[33mtranslation-gaudi-backend-server | �[0m File "/usr/local/lib/python3.11/site-packages/prometheus_fastapi_instrumentator/middleware.py", line 172, in __call__
�[32mllm-tgi-gaudi-server | �[0m return AsyncOpenAI(api_key=OPENAI_API_KEY, base_url=llm_endpoint + "/v1", timeout=600, default_headers=headers)
�[32mllm-tgi-gaudi-server | �[0m ~~~~~~~~~~~~~^~~~~~~
�[32mllm-tgi-gaudi-server | �[0mTypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
—
Reply to this email directly, view it on GitHub<#1382 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYMDOK3PQ3T5J5D3DPC6F2D2KOBK7AVCNFSM6AAAAABU7L4QJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBWGU4TKMBQGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I tried the wrong examples (ChatQnA) hours ago. After tried Translation, I cannot reproduce your issue. Please give you steps to reproduce this issue.
Here are steps to set environment variables:
Please check TGI_LLM_ENDPOINT in your environment as following:
|
I unset TGI_LLM_ENDPOINT, did not get the error log as yours. Please
If you still ran into the issue, please list each step at you did, so that I can reproduce it at my side. |
Priority
Undecided
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
1.1
Description
Was not able to bring up the servers but errors are being thrown when testing and connecting to the UI
translation_errors.log
Reproduce steps
As in the documentation
Raw log
No response
The text was updated successfully, but these errors were encountered: