Commit d37c1c4ecc2d57306eb1ddc6ecce1634931780e5

Authored by cherishsince
1 parent 10a94c3e

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

yudao-server/src/main/resources/application-local.yaml
... ... @@ -228,17 +228,18 @@ yudao:
228 228 qianwen:
229 229 enable: true
230 230 aiPlatform: QIAN_WEN
  231 + max-tokens: 1500
231 232 temperature: 0.85
232 233 topP: 0.8
233 234 topK: 0
234 235 api-key: sk-Zsd81gZYg7
235   - max-tokens: 1500
236 236 xinghuo:
237 237 enable: true
238 238 aiPlatform: XING_HUO
239   - temperature: 1
240   - topP: 1
241   - topK: 1
  239 + max-tokens: 1500
  240 + temperature: 0.85
  241 + topP: 0.8
  242 + topK: 0
242 243 appId: 13c8cca6
243 244 appKey: cb6415c19d6162cda07b47316fcb0416
244 245 secretKey: Y2JiYTIxZjA3MDMxMjNjZjQzYzVmNzdh
... ... @@ -246,9 +247,10 @@ yudao:
246 247 yiyan:
247 248 enable: true
248 249 aiPlatform: YI_YAN
249   - temperature: 1
250   - topP: 1
251   - topK: 1
  250 + max-tokens: 1500
  251 + temperature: 0.85
  252 + topP: 0.8
  253 + topK: 0
252 254 appKey: x0cuLZ7XsaTCU08vuJWO87Lg
253 255 secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK
254 256 refreshTokenSecondTime: 86400
... ...