使用spring-ai-alibaba重构项目
This commit is contained in:
@@ -1,14 +1,42 @@
|
||||
dashscope:
|
||||
api-key: sk-58d6fed688c54e8db02e6a7ffbfc7a5f
|
||||
deepseek:
|
||||
api-url: https://api.deepseek.com/chat/completions
|
||||
api-key: sk-faaa2a1b485442ccbf115ff1271a3480
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://gz-cynosdbmysql-grp-5ai5zw7r.sql.tencentcdb.com:24944/ai_interview?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
|
||||
username: qingqiu
|
||||
password: 020979hP
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
ai:
|
||||
openai:
|
||||
base-url: https://api.ruyun.fun
|
||||
api-key: ${RUYUN_API_KEY}
|
||||
chat:
|
||||
options:
|
||||
model: gemini-2.5-flash-nothinking
|
||||
dashscope:
|
||||
api-key: ${DASHSCOPE_API_KEY}
|
||||
read-timeout: 600
|
||||
chat:
|
||||
options:
|
||||
model: qwen3-max
|
||||
memory:
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: 123456
|
||||
timeout: 6000
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
password: 123456
|
||||
database: 0
|
||||
timeout: 6000
|
||||
jedis:
|
||||
pool:
|
||||
max-active: 16
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
|
||||
# ai:
|
||||
# openai:
|
||||
# api-key: sk-faaa2a1b485442ccbf115ff1271a3480
|
||||
|
||||
Reference in New Issue
Block a user