Skip to content
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

[Feature] add dashscope(alibabacloud) as new provider to gateway. #662

Open
heimanba opened this issue Oct 5, 2024 · 5 comments
Open

[Feature] add dashscope(alibabacloud) as new provider to gateway. #662

heimanba opened this issue Oct 5, 2024 · 5 comments
Labels
enhancement New feature or request triage

Comments

@heimanba
Copy link
Contributor

heimanba commented Oct 5, 2024

What Would You Like to See with the Gateway?

Portkey is an extremely exciting AI gateway!and I want to use Alibaba Cloud's Qwen large model through Dashscope. Moreover, Dashscope is already compatible with the OpenAI interface, as mentioned here: https://help.aliyun.com/zh/model-studio/developer-reference/compatibility-of-openai-with-dashscope.

Context for your Request

No response

Your Twitter/LinkedIn

https://x.com/yk371510756

@vrushankportkey
Copy link
Collaborator

Thank you for making this PR @heimanba, this is awesome!

@punkpeye
Copy link

punkpeye commented Dec 4, 2024

How to use this with an international account?

@vrushankportkey
Copy link
Collaborator

@narengogi did you test Dashscope? What was the process for non-Chinese accounts?

@punkpeye
Copy link

punkpeye commented Dec 5, 2024

Need to use a different API endpoint:

https://dashscope-intl.aliyuncs.com

@narengogi
Copy link
Collaborator

Hey @vrushankportkey I could not signup for this provider without a wechat account. I have not tested this #663 (review)

@punkpeye If you have a way to test dashscope, please feel free to raise a PR updating the getBaseURL() method in src/providers/dashscope/api.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

4 participants