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

need support for dashscope API #73

Open
GreatGolem opened this issue May 31, 2024 · 3 comments
Open

need support for dashscope API #73

GreatGolem opened this issue May 31, 2024 · 3 comments

Comments

@GreatGolem
Copy link

Dashscope is qwen's native API. They also host a lot of other models on their cloud, for example a llama3-70b-instruct. Can we add support for dashscope API?

@LostRuins
Copy link
Owner

Is it free to use? Without being able to get an API key, adding it will be hard

@GreatGolem
Copy link
Author

Accounts and API keys are free to get. Model quotes are charged differently for each model. On registration you get a handsome free quotes for the newest qwen models. The smallest qwen models are just free. [Here is a new promotion: https://help.aliyun.com/document_detail/2793370.html?spm=a2c4g.2586397.0.i1 . They actually have a promotion up all the time.] They also host many open source models for free. Llama3-70b-instruct is the best one I guess. You do need to apply individually for the free models after registration. My application passed fairly quick for llama3. But for stable diffusion it never pass. Here are some list of the models: https://dashscope.console.aliyun.com/model , https://bailian.console.aliyun.com/?spm=a2c4g.2400256.0.0.7d495d29YXwWgE#/model-market And here are some price lists showing the free ones: https://help.aliyun.com/document_detail/2586397.html? Their documentation is kind of a mess. Information scattered everywhere with repetition and wierd links. Some of their models do support openAI API, but just a small portion.

@GreatGolem
Copy link
Author

I've done a python program with dashscope API earlier. But I don't have much experience on html. If someone can kindly give me some instruction like which part of the code need to be updated in order to add a new API. I'd like to give it a try myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants