Under the background of private deployment, how should we do to add model suppliers, such as Alibaba Cloud's Tongyi Qianwen? #272

Closed
opened 2026-02-21 17:26:36 -05:00 by yindo · 5 comments
Owner

Originally created by @syhleo on GitHub (Jul 17, 2023).

Is your feature request related to a problem? Please describe.
如何在模型供应商中,增加一个阿里云的通义千问,我应该修改哪些代码

Describe the solution you'd like
dify是如何和微软和azure的api交互的,好像没看到这个代码。比如:completion的具体api代码在哪里呀?
How does Dify interact with Microsoft and Azure APIs? I don't seem to see this code. For example, where is the specific API code for completion?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @syhleo on GitHub (Jul 17, 2023). **Is your feature request related to a problem? Please describe.** 如何在模型供应商中,增加一个阿里云的通义千问,我应该修改哪些代码 **Describe the solution you'd like** dify是如何和微软和azure的api交互的,好像没看到这个代码。比如:completion的具体api代码在哪里呀? How does Dify interact with Microsoft and Azure APIs? I don't seem to see this code. For example, where is the specific API code for completion? **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
yindo added the 🙋‍♂️ question label 2026-02-21 17:26:36 -05:00
yindo closed this issue 2026-02-21 17:26:36 -05:00
Author
Owner

@crazywoola commented on GitHub (Jul 17, 2023):

Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides.

@crazywoola commented on GitHub (Jul 17, 2023): Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides.
Author
Owner

@zyh3826 commented on GitHub (Jul 17, 2023):

Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides.

Can you add Baidu wenxinyiyan also?

@zyh3826 commented on GitHub (Jul 17, 2023): > Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides. Can you add `Baidu wenxinyiyan` also?
Author
Owner

@syhleo commented on GitHub (Jul 18, 2023):

Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides.

When do you plan to access AliCloud's Universal Thousand Questions?
您好,你们计划大概什么时候接入阿里云的通义千问呢?

Can you tell me which codes need to be adjusted so that we can create a better future together?
是否可以告诉我大概需要调整哪些代码,我可以和你们一起共创

@syhleo commented on GitHub (Jul 18, 2023): > Thank you for bringing up this issue. Currently, we are in the process of planning for this requirement, but we haven't allocated time to implement the necessary adaptations yet. As of now, we only support two model provides. When do you plan to access AliCloud's Universal Thousand Questions? 您好,你们计划大概什么时候接入阿里云的通义千问呢? Can you tell me which codes need to be adjusted so that we can create a better future together? 是否可以告诉我大概需要调整哪些代码,我可以和你们一起共创
Author
Owner

@takatost commented on GitHub (Jul 18, 2023):

Hey, the provider and model codes are both in the api/core/llm directory. You can take a look if you're interested.

We're actually considering a model refactor soon, and we'll be opening up contribution guidelines for it.
Also, we've already obtained a lot of LLM permissions, including Tongyi Qianwen. We'll be supporting it as soon as possible.

@takatost commented on GitHub (Jul 18, 2023): Hey, the provider and model codes are both in the `api/core/llm` directory. You can take a look if you're interested. We're actually considering a model refactor soon, and we'll be opening up contribution guidelines for it. Also, we've already obtained a lot of LLM permissions, including Tongyi Qianwen. We'll be supporting it as soon as possible.
Author
Owner

@crazywoola commented on GitHub (Aug 14, 2023):

See v0.3.13

@crazywoola commented on GitHub (Aug 14, 2023): [See v0.3.13](https://github.com/langgenius/dify/releases/tag/0.3.13)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#272