对话接口 ws改造

This commit is contained in:
2026-01-09 21:14:52 +08:00
parent 9697bfe3cf
commit e6783b0ce1
6 changed files with 377 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:highgo://192.168.0.13:5866/highgo?useUnicode=true&characterEncoding=utf8&currentSchema=shz&stringtype=unspecified
url: jdbc:highgo://39.98.44.136:6022/highgo?useUnicode=true&characterEncoding=utf8&currentSchema=shz&stringtype=unspecified
#username: syssso
username: sysdba
password: SHZ2025@comzkr2
@@ -63,9 +63,9 @@ spring:
multi-statement-allow: true
redis:
# 地址
host: 127.0.0.1
host: 39.98.44.136
# 端口默认为6379
port: 6379
port: 6018
# 数据库索引
database: 0
# 密码
@@ -87,10 +87,30 @@ spring:
easy-es:
enable: true
banner: false
address: 127.0.0.1:9200
address: 39.98.44.136:6023
global-config:
process-index-mode: manual
db-config:
refresh-policy: immediate
username: elastic
password: shz2025@@.com
password: shz2025@@.com
#ai
chat:
baseUrl: http://39.98.44.136:8082
chatUrl: /v1/chat/completions
chatDetailUrl: /core/chat/getPaginationRecords
chatHistoryUrl: /core/chat/getHistories
updateNameUrl: /core/chat/updateHistory
stickChatUrl: /core/chat/updateHistory
delChatUrl: /core/chat/delHistory
delAllChatUrl: /core/chat/clearHistories
guestUrl: /v1/chat/completions
praiseUrl: /core/chat/feedback/updateUserFeedback
appId: 67cd49095e947ae0ca7fadd8
apiKey: fastgpt-qMl63276wPZvKAxEkW77bur0sSJpmuC6Ngg9lzyEjufLhsBAurjT55j
model: qd-job-turbo
audioText:
asr: http://39.98.44.136:8001/asr/file
tts: http://39.98.44.136:19527/synthesize