Closed carlos-vorto closed 3 months ago
Add a new client, try to use NewTongyiClientIntl
instead of NewTongyiClient
// cli := dashscopego.NewTongyiClient(model, token)
cli := dashscopego.NewTongyiClientIntl(model, token)
Hope this helps, Thanks.
Thanks a lot man! I will test now.
Tested, works as expected, thanks!
There is another endpoint to access DashScope api using the internaltional version: https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/text-generation/generation
Currently its not possible to edit this.
https://www.alibabacloud.com/help/en/model-studio/developer-reference/model-calling-in-sub-workspace