feat(config): 修改默认向量库为weaviate,并更新数据库连接信息

This commit is contained in:
Yzm
2025-10-23 11:24:47 +08:00
parent 65d59f4acf
commit beef9e946a
2 changed files with 6 additions and 4 deletions

View File

@@ -17,8 +17,8 @@ spring:
type: ${spring.datasource.type}
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/ruoyi-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: ruoyi-ai
password: 123456
username: root
password: root
hikari:
# 最大连接池数量

View File

@@ -330,10 +330,12 @@ spring:
servers-configuration: classpath:mcp-server.json
request-timeout: 300s
--- # 向量库配置
# 向量库配置
vector-store:
# 向量存储类型 (weaviate/milvus)
# 向量存储类型 可选(weaviate/milvus)
# 如需修改向量库类型,请修改此配置值!
type: weaviate
# Weaviate配置
weaviate:
protocol: http