【优化】配置文件统一增加 max-tokens配置 和 topP topK 配置

This commit is contained in:
cherishsince 2024-04-27 18:31:31 +08:00
parent 10a94c3ef2
commit d37c1c4ecc

View File

@ -228,17 +228,18 @@ yudao:
qianwen: qianwen:
enable: true enable: true
aiPlatform: QIAN_WEN aiPlatform: QIAN_WEN
max-tokens: 1500
temperature: 0.85 temperature: 0.85
topP: 0.8 topP: 0.8
topK: 0 topK: 0
api-key: sk-Zsd81gZYg7 api-key: sk-Zsd81gZYg7
max-tokens: 1500
xinghuo: xinghuo:
enable: true enable: true
aiPlatform: XING_HUO aiPlatform: XING_HUO
temperature: 1 max-tokens: 1500
topP: 1 temperature: 0.85
topK: 1 topP: 0.8
topK: 0
appId: 13c8cca6 appId: 13c8cca6
appKey: cb6415c19d6162cda07b47316fcb0416 appKey: cb6415c19d6162cda07b47316fcb0416
secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh
@ -246,9 +247,10 @@ yudao:
yiyan: yiyan:
enable: true enable: true
aiPlatform: YI_YAN aiPlatform: YI_YAN
temperature: 1 max-tokens: 1500
topP: 1 temperature: 0.85
topK: 1 topP: 0.8
topK: 0
appKey: x0cuLZ7XsaTCU08vuJWO87Lg appKey: x0cuLZ7XsaTCU08vuJWO87Lg
secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK
refreshTokenSecondTime: 86400 refreshTokenSecondTime: 86400