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

AI(tongyi)Whether multiple APIkeys conflict? #3790

Open
YunaiV opened this issue Jul 6, 2024 · 7 comments
Open

AI(tongyi)Whether multiple APIkeys conflict? #3790

YunaiV opened this issue Jul 6, 2024 · 7 comments

Comments

@YunaiV
Copy link

YunaiV commented Jul 6, 2024

Which Component
AI(tongyi)

Describe what problem you have encountered

Question 1、https://github.com/alibaba/spring-cloud-alibaba/blob/2023.x/spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-ai/src/main/java/com/alibaba/cloud/ai/tongyi/TongYiAutoConfiguration.java#L219

中文:这个 apiKey 目前是全局设置,那么一个应用里如果有多个 apiKey 会不会存在冲突?
是不是放到 TongYiChatModel 里,通过 request 传递 apiKey 可以解决。

English:This apiKey is currently set globally, so if there are multiple apikeys in an application, will there be conflicts?
Is it put into TongYiChatModel? It can be solved by passing apiKey through request.

Question 2、增量返回不生效。
English:incrementalOutput does not take effect

@yuluo-yx
Copy link
Collaborator

good idea. 👍

@yuluo-yx yuluo-yx added kind/bug Mark as bug area/ai labels Jul 15, 2024
@yuluo-yx yuluo-yx added this to the Spring Cloud Alibaba AI milestone Jul 15, 2024
@yuluo-yx
Copy link
Collaborator

yuluo-yx commented Jul 15, 2024

hi, @YunaiV For question two, you can see

// See https://help.aliyun.com/zh/dashscope/developer-reference/api-details?spm=a2c4g.11186623.0.0.655fc11aRR0jj7#b9ad0a10cfhpe
, in next version, It will is default enable.

@yuluo-yx yuluo-yx added kind/question and removed kind/bug Mark as bug labels Jul 16, 2024
@YunaiV
Copy link
Author

YunaiV commented Jul 17, 2024

hi, @YunaiV For question two, you can see

// See https://help.aliyun.com/zh/dashscope/developer-reference/api-details?spm=a2c4g.11186623.0.0.655fc11aRR0jj7#b9ad0a10cfhpe

, in next version, It will is default enable.

thanks~

Is there an expected release date?

No hurry, just ask

@yuluo-yx
Copy link
Collaborator

暂时没有确定得发布计划,spring ai 目前 chat api 做了些修改,计划是等 chat 稳定之后,把 function call 一起做下。
明确发版计划,说不上具体时间

@YunaiV
Copy link
Author

YunaiV commented Jul 18, 2024

暂时没有确定得发布计划,spring ai 目前 chat api 做了些修改,计划是等 chat 稳定之后,把 function call 一起做下。 明确发版计划,说不上具体时间

thanks~

I'm just copying the code into the project and that's fine

@18670032796
Copy link

看到 alibaba ai 全部移除,后续版本还会有这个功能集成吗

@yuluo-yx
Copy link
Collaborator

项目迁移了,可以看 置顶 issue

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

No branches or pull requests

3 participants