config.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # 应用配置
  2. app:
  3. name: shudao-chat-py
  4. host: 0.0.0.0
  5. port: 22001
  6. debug: true
  7. # MySQL数据库配置
  8. database:
  9. user: root
  10. password: "88888888"
  11. host: 172.16.29.101
  12. port: 21000
  13. database: shudao
  14. pool_size: 100
  15. max_overflow: 10
  16. pool_recycle: 3600
  17. # DeepSeek配置
  18. deepseek:
  19. api_key: sk-28625cb3738844e190cee62b2bcb25bf
  20. api_url: https://api.deepseek.com
  21. # 阿里大模型配置
  22. qwen3:
  23. api_url: http://172.16.35.50:8001
  24. model: Qwen3-30B-A3B-Instruct-2507
  25. # 意图识别模型配置(8115)
  26. intent:
  27. api_url: http://172.16.35.50:8115
  28. model: Qwen2.5-1.5B-Instruct
  29. # YOLO API配置
  30. yolo:
  31. base_url: http://172.16.35.50:18080
  32. # 搜索API配置
  33. search:
  34. api_url: http://127.0.0.1:24000/api/search
  35. heartbeat_url: http://127.0.0.1:24000/api/health
  36. # Dify Workflow配置
  37. dify:
  38. workflow_url: http://172.16.35.50:8000/v1/workflows/run
  39. workflow_id: 4wfh1PPDderMtCeb
  40. auth_token: app-55CyO4lmDv1VeXK4QmFpt4ng
  41. # 基础URL配置
  42. base_url: https://aqai.shudaodsj.com:22001
  43. # Token验证API配置
  44. auth:
  45. api_url: http://127.0.0.1:28004/api/auth/verify
  46. # OSS配置
  47. oss:
  48. access_key_id: fnyfi2f368pbic74d8ll
  49. access_key_secret: jgqwk7sirqlz2602x2k7yx2eor0vii19wah6ywlv
  50. bucket: gdsc-ai-aqzs
  51. endpoint: http://172.16.17.52:8060
  52. parse_encrypt_key: jgqwk7sirqlz2602