2026-02-23 01:45:23 +00:00
|
|
|
server:
|
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: wecom-robot
|
|
|
|
|
profiles:
|
|
|
|
|
active: dev
|
2026-02-24 03:03:59 +00:00
|
|
|
flyway:
|
|
|
|
|
enabled: true
|
|
|
|
|
locations: classpath:db/migration
|
|
|
|
|
baseline-on-migrate: true
|
|
|
|
|
baseline-version: 0
|
|
|
|
|
validate-on-migrate: true
|
2026-02-23 01:45:23 +00:00
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
mapper-locations: classpath:mapper/*.xml
|
|
|
|
|
type-aliases-package: com.wecom.robot.entity
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
|
|
|
|
|
wecom:
|
|
|
|
|
kf:
|
|
|
|
|
callback-url: /wecom/callback
|
|
|
|
|
|
|
|
|
|
transfer:
|
|
|
|
|
keywords:
|
|
|
|
|
- 人工
|
|
|
|
|
- 转人工
|
|
|
|
|
- 投诉
|
|
|
|
|
- 客服
|
|
|
|
|
- 人工客服
|
|
|
|
|
confidence-threshold: 0.6
|
|
|
|
|
max-fail-rounds: 3
|
|
|
|
|
max-session-duration: 1800000
|
|
|
|
|
max-message-rounds: 50
|
2026-02-23 17:26:27 +00:00
|
|
|
|
|
|
|
|
ai-service:
|
|
|
|
|
url: http://localhost:8000
|
|
|
|
|
timeout: 5000
|
|
|
|
|
|
|
|
|
|
channel:
|
|
|
|
|
default-channel: wechat
|
|
|
|
|
adapters:
|
|
|
|
|
wechat:
|
|
|
|
|
enabled: true
|
|
|
|
|
douyin:
|
|
|
|
|
enabled: false
|
|
|
|
|
jd:
|
|
|
|
|
enabled: false
|
2026-02-24 02:23:17 +00:00
|
|
|
|
|
|
|
|
resilience4j:
|
|
|
|
|
circuitbreaker:
|
|
|
|
|
instances:
|
|
|
|
|
aiService:
|
|
|
|
|
failure-rate-threshold: 50
|
|
|
|
|
sliding-window-size: 10
|
|
|
|
|
sliding-window-type: COUNT_BASED
|
|
|
|
|
wait-duration-in-open-state: 30s
|
|
|
|
|
permitted-number-of-calls-in-half-open-state: 3
|
|
|
|
|
timelimiter:
|
|
|
|
|
instances:
|
|
|
|
|
aiService:
|
|
|
|
|
timeout-duration: 5s
|