app.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. appname = shudao-chat-go
  2. httpport = 22001
  3. runmode = dev
  4. # 我们musql配置
  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.29.101"
  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 = "https://aqai.shudaodsj.com:22000/api/auth/verify"
  45. # oss配置
  46. #OSS_ACCESS_KEY_ID="LTAI5tCXEHGzpEn5jPxY29ML" #阿里云OSS的AccessKey ID
  47. #OSS_ACCESS_KEY_SECRET="NqfmJZUfQZ7FbXclPyjEW59AJguRej" #阿里云OSS的AccessKey Secret
  48. #OSS_BUCKET="wubenbear" #阿里云OSS的Bucket名称
  49. #OSS_END_POINT="oss-cn-chengdu.aliyuncs.com" #阿里云OSS的Endpoint
  50. OSS_ACCESS_KEY_ID="fnyfi2f368pbic74d8ll"
  51. OSS_ACCESS_KEY_SECRET="jgqwk7sirqlz2602x2k7yx2eor0vii19wah6ywlv"
  52. OSS_BUCKET="gdsc-ai-aqzs"
  53. OSS_END_POINT="172.16.17.52:8060"