app.conf 1.7 KB

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