2026-06-11 11:37:38 +08:00
|
|
|
server:
|
2026-06-01 19:50:54 +08:00
|
|
|
port: 8880
|
2026-06-01 19:09:40 +08:00
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: agent-foundation
|
2026-06-02 18:57:04 +08:00
|
|
|
datasource:
|
2026-06-12 09:56:34 +08:00
|
|
|
url: jdbc:mysql://8.153.108.90:3306/agent_foundation?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false
|
2026-06-12 10:21:54 +08:00
|
|
|
username: root
|
2026-06-11 11:44:00 +08:00
|
|
|
password: "yd708090"
|
2026-06-12 09:56:34 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2026-06-02 18:57:04 +08:00
|
|
|
hikari:
|
|
|
|
|
maximum-pool-size: 5
|
|
|
|
|
minimum-idle: 1
|
|
|
|
|
connection-timeout: 30000
|
2026-06-01 19:09:40 +08:00
|
|
|
management:
|
|
|
|
|
endpoints:
|
|
|
|
|
web:
|
|
|
|
|
exposure:
|
2026-06-12 17:28:47 +08:00
|
|
|
include: health,info,metrics,mappings
|
2026-06-01 19:09:40 +08:00
|
|
|
foundation:
|
|
|
|
|
auth:
|
|
|
|
|
keys:
|
|
|
|
|
crm-assistant: crm-dev-key
|
|
|
|
|
kb-assistant: kb-dev-key
|
|
|
|
|
cs-assistant: cs-dev-key
|
|
|
|
|
model-router:
|
|
|
|
|
default-model: deepseek-chat
|
|
|
|
|
route-by-agent:
|
|
|
|
|
crm-assistant: deepseek-chat
|
|
|
|
|
kb-assistant: deepseek-chat
|
|
|
|
|
cs-assistant: deepseek-chat
|
|
|
|
|
deepseek:
|
|
|
|
|
base-url: https://api.deepseek.com
|
|
|
|
|
chat-path: /chat/completions
|
2026-06-11 11:44:00 +08:00
|
|
|
api-key: sk-b008441047f24558bd4e4cea817206c3
|
2026-06-01 19:09:40 +08:00
|
|
|
read-timeout-ms: 60000
|
|
|
|
|
max-retries: 2
|
2026-07-13 17:17:55 +08:00
|
|
|
coze:
|
|
|
|
|
base-url: https://api.coze.cn
|
|
|
|
|
chat-path: /v1/workflows/chat
|
2026-07-21 15:23:26 +08:00
|
|
|
api-key: cztei_q8DKvlTaGtfA4tOAij6f9EexaRlwRiDP5XvESFauvBDzJXsz1VcPPEMetmYSd5wGA
|
2026-07-13 17:17:55 +08:00
|
|
|
default-workflow: wecom-default
|
|
|
|
|
workflows:
|
|
|
|
|
wecom-default:
|
|
|
|
|
workflow-id: "7661923520095862811"
|
|
|
|
|
app-id: "7661851003527954473"
|
|
|
|
|
parameters: {}
|
|
|
|
|
read-timeout-ms: 60000
|
|
|
|
|
max-retries: 2
|
2026-06-01 19:09:40 +08:00
|
|
|
wecom:
|
|
|
|
|
enabled: true
|
2026-07-13 17:31:50 +08:00
|
|
|
corp-id: wwaec174f56094f2b5
|
2026-07-21 13:21:48 +08:00
|
|
|
default-app: general
|
2026-07-21 16:13:17 +08:00
|
|
|
student-contact-app: sports-venue
|
|
|
|
|
student-contact-secret: ${WECOM_STUDENT_CONTACT_SECRET:}
|
2026-06-11 11:44:00 +08:00
|
|
|
token: crmAgentToken2026
|
|
|
|
|
encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
|
2026-07-21 13:21:48 +08:00
|
|
|
apps:
|
|
|
|
|
general:
|
|
|
|
|
name: 问答小助手
|
|
|
|
|
agent-id: 1000003
|
|
|
|
|
secret: Sq76WOBNf3S85RoSzrJ_3u5iQrl8DRTvjTv9X0-z7HE
|
|
|
|
|
callback-path: /v1/integrations/wecom/callback
|
|
|
|
|
sports-venue:
|
|
|
|
|
name: 运动馆智能助手
|
|
|
|
|
agent-id: 1000006
|
|
|
|
|
secret: V-fh1ROzjb06Hi9XB8VPb4HhE2ApI4j99NAjAXKYOb8
|
|
|
|
|
callback-path: /v1/integrations/wecom/sports-venue/callback
|
2026-07-21 14:12:59 +08:00
|
|
|
admin-user-ids:
|
2026-07-21 15:01:08 +08:00
|
|
|
- YiNianYiQingJing
|
2026-07-21 14:12:59 +08:00
|
|
|
- TangLong
|
|
|
|
|
- ChenWenJie
|
|
|
|
|
- XieChangLei
|
|
|
|
|
- ZhangYunYun
|
2026-07-21 13:00:02 +08:00
|
|
|
semantic:
|
|
|
|
|
agent-id: crm-assistant
|
|
|
|
|
minimum-confidence: 0.60
|
2026-07-13 17:31:50 +08:00
|
|
|
# wecom:
|
|
|
|
|
# enabled: true
|
|
|
|
|
# corp-id: ww11a329ca8ee0c40e
|
|
|
|
|
# agent-id: 1000002
|
|
|
|
|
# secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
|
|
|
|
|
# student-contact-secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
|
|
|
|
|
# token: crmAgentToken2026
|
|
|
|
|
# encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
|
|
|
|
|
# callback-path: /v1/integrations/wecom/callback
|
2026-06-12 17:28:47 +08:00
|
|
|
mini-program:
|
|
|
|
|
datasource:
|
|
|
|
|
url: jdbc:sqlserver://rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com:1433;databaseName=YD_WeChatAppletDB_QA;encrypt=true;trustServerCertificate=true;loginTimeout=500
|
|
|
|
|
username: qa
|
|
|
|
|
password: "Admin@123"
|
|
|
|
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|