feat: v-1.0.0spring ai alibaba搭建

This commit is contained in:
xiang
2025-11-09 21:39:03 +08:00
parent 500465e421
commit 61928d9f8f
2 changed files with 152 additions and 46 deletions

View File

@@ -1,16 +1,26 @@
spring:
ai:
dashscope:
api-key: sk-07353fd191074c9c930b134230ba88ea
application:
name: xservice-ai-center
profiles:
active: local
datasource:
url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: root
password: xb#UWqnhH24&XpX
driver-class-name: com.mysql.cj.jdbc.Driver
ai:
dashscope:
api-key: sk-07353fd191074c9c930b134230ba88ea
chat:
options:
model: qwen-plus
http:
connect-timeout: 30s
read-timeout: 60s
server:
port: 38020
# 返回结果UTF-8格式编码