|
@@ -7,8 +7,8 @@ server:
|
|
|
session:
|
|
|
timeout: 60s
|
|
|
tomcat:
|
|
|
- max-connections: 1000
|
|
|
- max-threads: 1000
|
|
|
+ max-connections: 5000
|
|
|
+ max-threads: 500
|
|
|
|
|
|
# set enable swagger
|
|
|
swagger:
|
|
@@ -17,9 +17,9 @@ swagger:
|
|
|
spring:
|
|
|
# set mysql config
|
|
|
datasource:
|
|
|
- url: jdbc:mysql://mysql57.rdsmfzxxwn3idxt.rds.bd.baidubce.com:3306/webchat?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
- username: wangqi
|
|
|
- password: wq547759477
|
|
|
+ url: jdbc:mysql://localhost:3306/webchat?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
+ username: root
|
|
|
+ password: 12345678
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
hikari:
|
|
|
maximum-pool-size: 50
|
|
@@ -40,7 +40,7 @@ spring:
|
|
|
elasticsearch:
|
|
|
message-index: chat_mess_dev
|
|
|
rest:
|
|
|
- uris: http://8.140.184.12:9200
|
|
|
+ uris: # ES配置
|
|
|
|
|
|
# 大模型配置,应用于对话机器人
|
|
|
llm:
|
|
@@ -48,11 +48,11 @@ llm:
|
|
|
# 当前开启使用哪个模型 kimi or deepseek
|
|
|
model: kimi
|
|
|
kimi:
|
|
|
- api-key: sk-BsG4iFzdpTBbrsx5cCMlTVCRzI5pdlwGco8286ranZ746aX6
|
|
|
+ api-key: #替换为自己的kimi开发者apiKey
|
|
|
model: moonshot-v1-8k
|
|
|
deepseek:
|
|
|
api-key: #替换为自己的deepseek开发者apiKey
|
|
|
model: deepseek-chat
|
|
|
liblib:
|
|
|
- accessKey: at4oOOb07YDuCFhICHWE-g
|
|
|
- SecretKey: XegvK69OprhgesBBD6R5ohJlc9y0wqVC
|
|
|
+ accessKey: #替换为自己的liblib开发者accessKey
|
|
|
+ SecretKey: #替换为自己的liblib开发者SecretKey
|