2026-09-09 10:14:13 +08:00

182 lines
5.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8880
forward-headers-strategy: framework
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: pat_w8sIwaOaSfGJzn3DNtbc9gUEty01789K6kTNbHDLEB9fW1WsWqrmPHvXylADspea
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: ww11a329ca8ee0c40e
default-app: general
student-contact-app: sports-venue
student-contact-secret: ${WECOM_STUDENT_CONTACT_SECRET:}
smart-sheet-webhook:
enabled: true
url: "https://qyapi.weixin.qq.com/cgi-bin/wedoc/smartsheet/webhook?key=6VfgNpdBMjD0HBjXsZgnzFrdqSORJG6t7jH6VTAo6nrcCBsFq8ako3CXW38oJuiEbdmAGgtbDo5T8kIkXesU1yZ8kEyIHDRE6ifP6nEAIkQq"
request-timeout-ms: 20000
customer-name-field-id: f04Gwj
phone-field-id: ftQMc5
status-field-id: ftk5Tx
owner-field-id: ffFwIh
default-status: 跟进中
apps:
general:
name: 问答小助手
agent-id: 1000002
secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
sports-venue:
name: 运动馆智能助手
agent-id: 1000002
secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
admin-user-ids:
- TangLong
- Yd-001
- YD-107
- ZhangYunYun
- LiYang
- DongPoLi
# 测试期间同步接收每次学员运营预警;验证完成后可删除此项。
alert-copy-user-ids:
- TangLong
wecom-aibot:
enabled: true
websocket-url: wss://openws.work.weixin.qq.com
request-timeout-ms: 60000
progress-text: 正在处理,请稍候……
apps:
general:
enabled: true
bot-id: aibvAPJDE-bJ5pkCR0kenlK5Jogm09MZSJ0
secret: QSz14RpnAqNwHQrfc704yfq3AkDNj4FOQqyzxYJwYk5
handler: general
sports-venue:
enabled: true
bot-id: aib0XJ1q1omUUJRksnvyR0nfEJWJlrr2VMZ
secret: lOwdrpviqJheMjX91EkP6H67NA4XCqMGCpCspst12Zv
handler: sports-venue
xuebang:
enabled: true
base-url: http://api.xuebangsoft.net
client-id: "6107"
key-code: COMMON
client-secret: "RkDSYCNXD0eBF09ofNfxWMmSZzIWF9QzGWu8GUKAUH5d1sQeXE6JxfScDGFx2Q5EisYRL7IZqij56CqbICeI9pC/EbSdNh8QRgV00S+e6sYbmQImMcRipLsH1t/Bnr1pKRwSBIcj8y8UQThyVT1Ve4Zl/p4J295J4rbLcSo29W0="
page-size: 5000
max-pages: 1000
max-response-bytes: 52428800
connect-timeout-ms: 10000
read-timeout-ms: 60000
max-retries: 2
report-cache-seconds: 180
ec:
enabled: true
base-url: https://open.workec.com
corp-id: 21620591
app-id: "1305856248515657728"
app-secret: "OUs38Bc0fxioDCTgBFv"
page-size: 200
max-pages: 1000
effective-call-seconds: 60
connect-timeout-ms: 10000
read-timeout-ms: 60000
max-response-bytes: 10485760
# 可按公司合规规范继续增加,日报会在 EC AI 转写文本中逐项匹配。
sensitive-words:
- 保证效果
- 百分之百
- 绝对有效
- 无条件退款
- 私下转账
ngp:
enabled: true
base-url: https://ngpopen.wsgjp.com
rest-path: /rest
token-path: /oauth2/token
app-key: "1963726710646004055"
app-secret: "0412408f20614a80fdd6e20845a8e364"
access-token: "581b22b62ebec2b9629b2b4940dcca67"
refresh-token: "5347f89aae57b85ad762998b804c0a24"
page-size: 200
concurrency: 40
refresh-concurrency: 6
pending-retry-seconds: 10
connect-timeout-ms: 10000
read-timeout-ms: 60000
max-retries: 2
max-response-bytes: 5242880
current-cache-seconds: 600
history-cache-seconds: 86400
monthly-store-names:
- 跃动内容电商(小红书2店)
- 跃动内容电商(微信小店)
- 跃动内容电商(抖店)
- 跃动内容电商(小红书)
- 跃动内容电商(快手)
- 跃动工厂(拼多多4)
- 跃动工厂(淘宝1)
- 跃动工厂(淘宝2)
- 跃动工厂(天猫店)
- 跃动工厂(天猫2)
- 跃动工厂(京东pop)
- 跃动工厂(拼多多3)
- 跃动工厂(抖店2)
- 跃动工厂(快手)
- 跃动工厂(微信小店1)
- 跃动工厂(小红书1)
- 跃动工厂(拼多多2)
- 跃动工厂(抖店1)
- 跃动工厂(拼多多1)
- 跃动工厂(拼多多5)
semantic:
agent-id: crm-assistant
minimum-confidence: 0.60
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