91 lines
2.8 KiB
YAML
91 lines
2.8 KiB
YAML
server:
|
|
port: 8880
|
|
spring:
|
|
application:
|
|
name: agent-foundation
|
|
datasource:
|
|
url: jdbc:mysql://8.153.108.90:3306/agent_foundation?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false
|
|
username: root
|
|
password: "yd708090"
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
hikari:
|
|
maximum-pool-size: 5
|
|
minimum-idle: 1
|
|
connection-timeout: 30000
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,info,metrics,mappings
|
|
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
|
|
api-key: sk-b008441047f24558bd4e4cea817206c3
|
|
read-timeout-ms: 60000
|
|
max-retries: 2
|
|
coze:
|
|
base-url: https://api.coze.cn
|
|
chat-path: /v1/workflows/chat
|
|
api-key: ${COZE_API_KEY:cztei_qKcNWz5IvhFXAkcxTNFOE7Tnaaua8GJ7VyOREi99l9nGvR7uGjbpqkf3ZmCrYu94T}
|
|
default-workflow: wecom-default
|
|
workflows:
|
|
wecom-default:
|
|
workflow-id: "7661923520095862811"
|
|
app-id: "7661851003527954473"
|
|
parameters: {}
|
|
read-timeout-ms: 60000
|
|
max-retries: 2
|
|
wecom:
|
|
enabled: true
|
|
corp-id: wwaec174f56094f2b5
|
|
default-app: general
|
|
token: crmAgentToken2026
|
|
encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
|
|
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
|
|
semantic:
|
|
agent-id: crm-assistant
|
|
minimum-confidence: 0.60
|
|
internal-apis:
|
|
crm-report:
|
|
base-url: ${CRM_REPORT_BASE_URL:http://127.0.0.1:9999}
|
|
path: /api/crm/daily-report
|
|
timeout-ms: 30000
|
|
|
|
# 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
|
|
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
|