| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- # 应用配置示例文件
- # 复制此文件为 config.yaml 并填入实际配置
- app:
- name: shudao-chat-py
- host: 0.0.0.0
- port: 22000
- debug: true
- # MySQL数据库配置
- database:
- user: root
- password: "your_password"
- host: your_host
- port: 21000
- database: shudao
- pool_size: 100
- max_overflow: 10
- pool_recycle: 3600
- # DeepSeek配置
- deepseek:
- api_key: your_api_key
- api_url: https://api.deepseek.com
- # 阿里大模型配置
- qwen3:
- api_url: http://your_host:8000
- model: Qwen3-30B-A3B-Instruct-2507
- # 意图识别模型配置
- intent:
- api_url: http://your_host:8000
- model: Qwen2.5-1.5B-Instruct
- # YOLO API配置
- yolo:
- base_url: http://your_host:18080
- # 搜索API配置
- search:
- api_url: http://localhost:24000/api/search
- heartbeat_url: http://localhost:24000/health
- # Dify Workflow配置
- dify:
- workflow_url: http://your_host:8000/v1/workflows/run
- workflow_id: your_workflow_id
- auth_token: your_auth_token
- # 基础URL配置
- base_url: https://your_domain.com:22000
- # Token验证API配置
- auth:
- api_url: http://127.0.0.1:28004/api/auth/verify
- # OSS配置
- oss:
- access_key_id: your_access_key_id
- access_key_secret: your_access_key_secret
- bucket: your_bucket
- endpoint: your_endpoint
- parse_encrypt_key: your_encrypt_key
|