-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
community: support Hunyuan Embedding #23160
Conversation
… tencentcloud sdk
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
hunyuan_api_base: str = Field(default=DEFAULT_API_BASE) | ||
"""Hunyuan custom endpoints""" | ||
hunyuan_app_id: Optional[int] = None | ||
"""Hunyuan App ID""" | ||
hunyuan_secret_id: Optional[str] = None | ||
"""Hunyuan Secret ID""" | ||
hunyuan_secret_key: Optional[SecretStr] = None | ||
"""Hunyuan Secret Key""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changing the names of init args is a breaking change — do we need to make it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your reminder.
In addition to remove the hunyuan_api_base
and hunyuan_app_id
which maybe unused in newest hunyuan api,
maybe I should keep hunyuan_secret_id
and hunyuan_secret_key
instead of tencentcloud_secret_id
and tencentcloud_secret_key
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your reminder. In addition to remove the
hunyuan_api_base
andhunyuan_app_id
which maybe unused in newest hunyuan api, maybe I should keephunyuan_secret_id
andhunyuan_secret_key
instead oftencentcloud_secret_id
andtencentcloud_secret_key
.
I have completed the changes described above and tested it again ^^
Deployment failed with the following error:
|
Hi! @baskaryan I hope this message finds you well. I wanted to follow up on this merge request as it's been a while since the last update. I understand you might be busy, but I would greatly appreciate your feedback when you have a moment. If there are any concerns or if you need any clarifications about the changes, please let me know. I'm happy to provide more context or make adjustments as needed. Thank you for your time and attention. Looking forward to your review. |
is this change still needed after #24172? |
I have read this PR in detail. Compared to this PR, Both of two PR implemented the hunyuan chat model with the Tencent Cloud SDK. In addition, I also implemented hunyuan embeddings. May be it will be helpful. Here is the docs reference: |
description
Chathunyuan
using tencentcloud sdk because I found the original one can't work in my applicationHunyuanEmbeddings
using tencentcloud sdkDependencies