|
|
@ -12,7 +12,6 @@ server:
|
|
|
|
# 是否分配的直接内存
|
|
|
|
# 是否分配的直接内存
|
|
|
|
direct-buffers: true
|
|
|
|
direct-buffers: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
application:
|
|
|
|
name: virtual-patient
|
|
|
|
name: virtual-patient
|
|
|
@ -25,7 +24,7 @@ spring:
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
druid:
|
|
|
|
druid:
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
url: jdbc:mysql://192.168.10.138:3306/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
|
|
|
|
url: jdbc:mysql://virtual-patient-mysql:3306/virtual_patient?useUnicode=true&characterEncoding=utf-8&useSSL=true&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
|
|
|
|
username: root
|
|
|
|
username: root
|
|
|
|
password: '123456'
|
|
|
|
password: '123456'
|
|
|
|
initial-size: 5 # 初始化大小
|
|
|
|
initial-size: 5 # 初始化大小
|
|
|
@ -48,10 +47,17 @@ spring:
|
|
|
|
slow-sql-millis: 5000 # 慢 SQL 的标准,默认 3000,单位:毫秒
|
|
|
|
slow-sql-millis: 5000 # 慢 SQL 的标准,默认 3000,单位:毫秒
|
|
|
|
merge-sql: false # 合并多个连接池的监控数据,默认false
|
|
|
|
merge-sql: false # 合并多个连接池的监控数据,默认false
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
host: 192.168.10.138
|
|
|
|
host: virtual-patient-redis
|
|
|
|
port: 6379
|
|
|
|
port: 6379
|
|
|
|
password: 123456
|
|
|
|
password: 123456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
minio:
|
|
|
|
|
|
|
|
url: http://virtual-patient-minio:9002
|
|
|
|
|
|
|
|
accessKey: admin
|
|
|
|
|
|
|
|
secretKey: 12345678
|
|
|
|
|
|
|
|
bucketName: virtual-patient-bucket-prod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
mybatis-plus:
|
|
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
|
|
configuration:
|
|
|
|
configuration:
|
|
|
@ -59,19 +65,14 @@ mybatis-plus:
|
|
|
|
|
|
|
|
|
|
|
|
paddle-speech:
|
|
|
|
paddle-speech:
|
|
|
|
# https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-RESTful-API
|
|
|
|
# https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-RESTful-API
|
|
|
|
tts: http://192.168.10.138:8090/paddlespeech/tts
|
|
|
|
tts: http://virtual-patient-paddle-speech:8090/paddlespeech/tts
|
|
|
|
asr: http://192.168.10.138:8090/paddlespeech/asr
|
|
|
|
asr: http://virtual-patient-paddle-speech:8090/paddlespeech/asr
|
|
|
|
rasa:
|
|
|
|
rasa:
|
|
|
|
base-url: http://192.168.10.138:8890/virtual-patient-rasa/
|
|
|
|
base-url: http://virtual-patient-rasa:8890/virtual-patient-rasa/
|
|
|
|
talk: rasa/talkRasa
|
|
|
|
talk: rasa/talkRasa
|
|
|
|
saveRasaFile: rasaFile/saveRasaFile
|
|
|
|
saveRasaFile: rasaFile/saveRasaFile
|
|
|
|
train: rasaCmd/trainExec
|
|
|
|
train: rasaCmd/trainExec
|
|
|
|
run: rasaCmd/runExec
|
|
|
|
run: rasaCmd/runExec
|
|
|
|
human:
|
|
|
|
|
|
|
|
base-url: https://digital-human.jd.com
|
|
|
|
|
|
|
|
room-id: /getRoomId
|
|
|
|
|
|
|
|
text-driven: /text_driven
|
|
|
|
|
|
|
|
talk-status: /talkStatus
|
|
|
|
|
|
|
|
answer:
|
|
|
|
answer:
|
|
|
|
# 对于没有匹配上的缺省回答ID,关联的是vp_file_resource的ID
|
|
|
|
# 对于没有匹配上的缺省回答ID,关联的是vp_file_resource的ID
|
|
|
|
defaultNoMatchId: 1739173836351885313
|
|
|
|
defaultNoMatchId: 1739173836351885313
|