Commit ad46eb57a5463cfc61ac368fbbc8a3efaf5913ec

Authored by cherishsince
1 parent c6a029ff

【增加】增加open ai dall_e_2 配置

yudao-server/src/main/resources/application-local.yaml
... ... @@ -255,6 +255,11 @@ yudao:
255 255 secretKey: R9mYF9dl9KASgi5RUq0FQt3wRisSnOcK
256 256 refreshTokenSecondTime: 86400
257 257 chatModel: ERNIE4_3_5_8K
  258 + openAiImage:
  259 + enable: true
  260 + api-key: ${OPEN_AI_KEY}
  261 + model: dall_e_2
  262 + style: vivid
258 263  
259 264 captcha:
260 265 enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
... ...