From d37c1c4ecc2d57306eb1ddc6ecce1634931780e5 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Sat, 27 Apr 2024 18:31:31 +0800 Subject: [PATCH] 【优化】配置文件统一增加 max-tokens配置 和 topP topK 配置 --- yudao-server/src/main/resources/application-local.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index c13db01..4ca7429 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -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 -- libgit2 0.21.4