【优化】配置文件统一增加 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:
enable: true
aiPlatform: QIAN_WEN
max-tokens: 1500
temperature: 0.85
topP: 0.8
topK: 0
api-key: sk-Zsd81gZYg7
max-tokens: 1500
xinghuo:
enable: true
aiPlatform: XING_HUO
temperature: 1
topP: 1
topK: 1
max-tokens: 1500
temperature: 0.85
topP: 0.8
topK: 0
appId: 13c8cca6
appKey: cb6415c19d6162cda07b47316fcb0416
secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh
@ -246,9 +247,10 @@ yudao:
yiyan:
enable: true
aiPlatform: YI_YAN
temperature: 1
topP: 1
topK: 1
max-tokens: 1500
temperature: 0.85
topP: 0.8
topK: 0
appKey: x0cuLZ7XsaTCU08vuJWO87Lg
secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK
refreshTokenSecondTime: 86400