From ad46eb57a5463cfc61ac368fbbc8a3efaf5913ec Mon Sep 17 00:00:00 2001 From: cherishsince Date: Sun, 28 Apr 2024 16:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0open=20ai=20dall=5Fe=5F2=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/src/main/resources/application-local.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 4ca742981..32ab21c73 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -255,6 +255,11 @@ yudao: secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK refreshTokenSecondTime: 86400 chatModel: ERNIE4_3_5_8K + openAiImage: + enable: true + api-key: ${OPEN_AI_KEY} + model: dall_e_2 + style: vivid captcha: enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;