优化自动注入,可以创建多个 client

This commit is contained in:
cherishsince
2024-04-13 18:20:28 +08:00
parent 02ac6f30cf
commit ac0de5d485
7 changed files with 320 additions and 91 deletions

View File

@ -224,20 +224,30 @@ wx:
# 芋道配置项,设置当前项目所有自定义的配置
yudao:
ai:
temperature: 1
topP: 1
topK: 1
qianWen:
aiPlatform: QIAN_WEN
temperature: 1
topP: 1
topK: 1
endpoint: bailian.cn-beijing.aliyuncs.com
accessKeyId: LTAI5tNTVhXW4fLKUjMrr98z
accessKeySecret: ZJ0JQeyjzxxm5CfeTV6k1wNE9UsvZP
agentKey: f0c1088824594f589c8f10567ccd929f_p_efm
appId: 5f14955f201a44eb8dbe0c57250a32ce
xingHuo:
aiPlatform: XING_HUO
temperature: 1
topP: 1
topK: 1
appId: 13c8cca6
appKey: cb6415c19d6162cda07b47316fcb0416
secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh
chatModel: XING_HUO_3_5
yiYan:
aiPlatform: YI_YAN
temperature: 1
topP: 1
topK: 1
appKey: x0cuLZ7XsaTCU08vuJWO87Lg
secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK
refreshTokenSecondTime: 86400