From d37c1c4ecc2d57306eb1ddc6ecce1634931780e5 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Sat, 27 Apr 2024 18:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E7=BB=9F=E4=B8=80=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20max-tokens=E9=85=8D=E7=BD=AE=20=E5=92=8C=20topP=20topK=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 c13db0164..4ca742981 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