app.conf 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. appname = shudao-chat-go
  2. httpport = 22000
  3. runmode = dev
  4. # mysql配置
  5. #mysqluser = "shudao"
  6. #mysqlpass = "root"
  7. #mysqlpass = "YDdYntHtC7h5bniB"
  8. #mysqlurls = "47.109.37.38"
  9. #mysqlhttpport = "3306"
  10. #mysqldb = "shudao"
  11. # shudao-chat-go配置
  12. mysqluser = "root"
  13. mysqlpass = "88888888"
  14. mysqlurls = "172.16.35.57"
  15. mysqlhttpport = "21000"
  16. mysqldb = "shudao"
  17. #deepseek配置
  18. deepseek_api_key = "sk-28625cb3738844e190cee62b2bcb25bf"
  19. deepseek_api_url = "https://api.deepseek.com"
  20. # 阿里大模型配置
  21. qwen3_api_url = "http://172.16.35.50:8000"
  22. qwen3_model = "Qwen3-30B-A3B-Instruct-2507"
  23. # 意图识别模型配置
  24. intent_api_url = "http://172.16.35.50:8000"
  25. intent_model = "Qwen2.5-1.5B-Instruct"
  26. # YOLO API配置
  27. yolo_base_url = "http://172.16.35.50:18080"
  28. # # Chroma数据库配置
  29. # chroma_host = "172.16.35.57"
  30. # chroma_port = "23000"
  31. # chroma_collection_name = "my_rag_collection"
  32. # 搜索API配置
  33. search_api_url = "http://localhost:24000/api/search"
  34. #心包连接
  35. heartbeat_api_url = "http://localhost:24000/api/health"
  36. # 基础URL配置 - 手动切换
  37. # 本地环境: https://172.16.29.101:22000
  38. # 生产环境: https://aqai.shudaodsj.com:22000
  39. base_url = "https://aqai.shudaodsj.com:22000"
  40. # Token验证API配置
  41. # 生产环境:使用外部认证服务
  42. # auth_api_url = "https://aqai.shudaodsj.com:22000/api/auth/verify"
  43. # 测试环境:如果认证服务在本地
  44. auth_api_url = "http://127.0.0.1:28004/api/auth/verify"
  45. # oss配置
  46. OSS_ACCESS_KEY_ID="fnyfi2f368pbic74d8ll"
  47. OSS_ACCESS_KEY_SECRET="jgqwk7sirqlz2602x2k7yx2eor0vii19wah6ywlv"
  48. OSS_BUCKET="gdsc-ai-aqzs"
  49. OSS_END_POINT="172.16.17.52:8060"
  50. OSS_PARSSE_ENCRYPT_KEY="jgqwk7sirqlz2602"