# 服务器配置
server:
  port: 8090
  host: "0.0.0.0"

ollama:
  base_url: "http://192.168.6.115:11434"
  model: "qwen3:8b"
  generate_model: "qwen3:8b"
  mapping_model: "qwen3:8b"
#  model: "qwen3-coder:480b-cloud"
#  generate_model: "qwen3-coder:480b-cloud"
#  mapping_model: "deepseek-v3.2:cloud"
  vl_model: "qwen2.5vl:3b"
  timeout: "120s"
  level: "info"
  format: "json"

vllm:
  vl_model:
    base_url: "http://192.168.6.115:8001/v1"
    model: "qwen2.5-vl-3b-awq"
    timeout: "120s"
    level: "info"
  text_model:
    base_url: "http://192.168.6.115:8002/v1"
    model: "qwen3-8b-fp8"
    timeout: "120s"
    level: "info"

coze:
  base_url: "https://api.coze.cn"

lsxd:
  # 统一登录
  login_url: "https://api.user.1688sup.com/v1/login/phone"
  phone: "ORlviZN7N06W2+WKLe76xg=="
  password: "V5Uh8C4bamEM6UQZh4TCeQ=="
  code: "456789"
  check_token_url: "https://api.user.1688sup.com/v1/user/welcome"

  
sys:
  session_len: 6
  channel_pool_len: 100
  channel_pool_size: 32
  llm_pool_len: 5
  heartbeat_interval: 300
  key: report-api
  pollSize: 5 #连接池大小，不配置，或配置为0表示不启用连接池
  minIdleConns: 2 #最小空闲连接数
  maxIdleTime: 30 #每个连接最大空闲时间，如果超过了这个时间会被关闭
  tls: 30
  db:
redis:
  host: 47.97.27.195:6379
  type: node
  pass: lansexiongdi@666
  key: ai_scheduler_prov
  pollSize: 5 #连接池大小，不配置，或配置为0表示不启用连接池
  minIdleConns: 2 #最小空闲连接数
  maxIdleTime: 30 #每个连接最大空闲时间，如果超过了这个时间会被关闭
  tls: 30
  db:
db:
  driver: mysql
  source: root:SD###sdf323r343@tcp(121.199.38.107:3306)/sys_ai?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
mongo:
  source: mongodb://root:lsxd2026123@192.168.6.115:27017
  dataBase: ai_scheduler
  maxPoolSize: 100
  minPoolSize: 10
  maxConnIdleTime: 30
  connectTimeout: 10
  socketTimeout: 30
oss:
  access_key: "LTAI5tGGZzjf3tvqWk8SQj2G"
  secret_key: "S0NKOAUaYWoK4EGSxrMFmYDzllhvpq"
  bucket: "attachment-public"
  domain: "https://attachment-public.oss-cn-hangzhou.aliyuncs.com"
  endpoint: "https://oss-cn-hangzhou.aliyuncs.com"

tools:
  zltxOrderDetail:
    enabled: true
    base_url: "https://revcl.1688sup.com/api/admin/direct/ai/%s"
    add_url: "https://revcl.1688sup.com/api/admin/direct/log/%s/%s"
    api_key: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1c2VyQ2VudGVyIiwiZXhwIjoxNzU4MDkxOTU4LCJuYmYiOjE3NTgwOTAxNTgsImp0aSI6IjEiLCJQaG9uZSI6IjE4MDAwMDAwMDAwIiwiVXNlck5hbWUiOiJsc3hkIiwiUmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJBY2NvdW50VHlwZSI6MSwiR3JvdXBDb2RlcyI6IlZDTF9DQVNISUVSLFZDTF9PUEVSQVRFLFZDTF9BRE1JTixWQ0xfQUFBLFZDTF9WQ0xfT1BFUkFULFZDTF9JTlZPSUNFLENSTV9BRE1JTixMSUFOTElBTl9BRE1JTixNQVJLRVRNQUcyX0FETUlOLFBIT05FQklMTF9BRE1JTixRSUFOWkhVX1NVUFBFUl9BRE0sTUFSS0VUSU5HU0FBU19TVVBFUkFETUlOLENBUkRfQ09ERSxDQVJEX1BST0NVUkVNRU5ULE1BUktFVElOR1NZU1RFTV9TVVBFUixTVEFUSVNUSUNBTFNZU1RFTV9BRE1JTixaTFRYX0FETUlOLFpMVFhfT1BFUkFURSIsIkRpbmdVc2VySWQiOiIxNjIwMjYxMjMwMjg5MzM4MzQifQ.Bjsx9f8yfcrV9EWxb0n6POwnXVOq9XPRD78JFZnnf1_VAVMN78W4W570SZL27PWuDnkD7E4oUg6RzeZwZgl7BZrNpNr-a-QpNC5qCptqrqXeNfVStmX7pxWA8GqnzI8ybkZgbhQ58Gje7DzdJtBq_8zte_LDaYhTYXdIc5EAG0AbCzAk22nPTl47nkMeHtmisXQVLEsdibl1hW3ViFJlXwfXvUrOENItmL1_mRYkggUB0MaTu2nHJOYM6PaOVGLHx-74eepnmK2rm6konFEb6ed-Ukc6gVR-nM9yWZaYLYNGNKJLwZoCX3tRuerq74n4kzQgWmUEJeaVI1yIGSw1zw"
  zltxProduct:
    enabled: true
    base_url: "https://revcl.1688sup.com/api/admin/oursProduct"
    add_url: "https://revcl.1688sup.com/api/admin/platformProduct/getProductsByOfficialProductId"
    api_key: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1c2VyQ2VudGVyIiwiZXhwIjoxNzU2MTgyNTM1LCJuYmYiOjE3NTYxODA3MzUsImp0aSI6IjEiLCJQaG9uZSI6IjE4MDAwMDAwMDAwIiwiVXNlck5hbWUiOiJsc3hkIiwiUmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJBY2NvdW50VHlwZSI6MSwiR3JvdXBDb2RlcyI6IlZDTF9DQVNISUVSLFZDTF9PUEVSQVRFLFZDTF9BRE1JTixWQ0xfQUFBLFZDTF9WQ0xfT1BFUkFULFZDTF9JTlZPSUNFLENSTV9BRE1JTixMSUFOTElBTl9BRE1JTixNQVJLRVRNQUcyX0FETUlOLFBIT05FQklMTF9BRE1JTixRSUFOWkhVX1NVUFBFUl9BRE0sTUFSS0VUSU5HU0FBU19TVVBFUkFETUlOLENBUkRfQ09ERSxDQVJEX1BST0NVUkVNRU5ULE1BUktFVElOR1NZU1RFTV9TVVBFUixTVEFUSVNUSUNBTFNZU1RFTV9BRE1JTixaTFRYX0FETUlOLFpMVFhfT1BFUkFURSIsIkRpbmdVc2VySWQiOiIxNjIwMjYxMjMwMjg5MzM4MzQifQ.N1xv1PYbcO8_jR5adaczc16YzGsr4z101gwEZdulkRaREBJNYTOnFrvRxTFx3RJTooXsqTqroE1MR84v_1WPX6BS6kKonA-kC1Jgot6yrt5rFWhGNGb2Cpr9rKIFCCQYmiGd3AUgDazEeaQ0_sodv3E-EXg9VfE1SX8nMcck9Yjnc8NCy7RTWaBIaSeOdZcEl-JfCD0S6GSx3oErp_hk-U9FKGwf60wAuDGTY1R0BP4BYpcEqS-C2LSnsSGyURi54Cuk5xH8r1WuF0Dm5bwAj5d7Hvs77-N_sUF-C5ONqyZJRAEhYLgcmN9RX_WQZfizdQJxizlTczdpzYfy-v-1eQ"
  zltxOrderStatistics:
    base_url: "https://revcl.1688sup.com/api/admin/direct/ai/search/"
    enabled: true
    api_key: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1c2VyQ2VudGVyIiwiZXhwIjoxNzU2MTgyNTM1LCJuYmYiOjE3NTYxODA3MzUsImp0aSI6IjEiLCJQaG9uZSI6IjE4MDAwMDAwMDAwIiwiVXNlck5hbWUiOiJsc3hkIiwiUmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJBY2NvdW50VHlwZSI6MSwiR3JvdXBDb2RlcyI6IlZDTF9DQVNISUVSLFZDTF9PUEVSQVRFLFZDTF9BRE1JTixWQ0xfQUFBLFZDTF9WQ0xfT1BFUkFULFZDTF9JTlZPSUNFLENSTV9BRE1JTixMSUFOTElBTl9BRE1JTixNQVJLRVRNQUcyX0FETUlOLFBIT05FQklMTF9BRE1JTixRSUFOWkhVX1NVUFBFUl9BRE0sTUFSS0VUSU5HU0FBU19TVVBFUkFETUlOLENBUkRfQ09ERSxDQVJEX1BST0NVUkVNRU5ULE1BUktFVElOR1NZU1RFTV9TVVBFUixTVEFUSVNUSUNBTFNZU1RFTV9BRE1JTixaTFRYX0FETUlOLFpMVFhfT1BFUkFURSIsIkRpbmdVc2VySWQiOiIxNjIwMjYxMjMwMjg5MzM4MzQifQ.N1xv1PYbcO8_jR5adaczc16YzGsr4z101gwEZdulkRaREBJNYTOnFrvRxTFx3RJTooXsqTqroE1MR84v_1WPX6BS6kKonA-kC1Jgot6yrt5rFWhGNGb2Cpr9rKIFCCQYmiGd3AUgDazEeaQ0_sodv3E-EXg9VfE1SX8nMcck9Yjnc8NCy7RTWaBIaSeOdZcEl-JfCD0S6GSx3oErp_hk-U9FKGwf60wAuDGTY1R0BP4BYpcEqS-C2LSnsSGyURi54Cuk5xH8r1WuF0Dm5bwAj5d7Hvs77-N_sUF-C5ONqyZJRAEhYLgcmN9RX_WQZfizdQJxizlTczdpzYfy-v-1eQ"
  knowledge:
    base_url: "http://117.175.169.61:10000"
    enabled: true
  DingTalkBot:
    enabled: true
    api_key: "dingsbbntrkeiyazcfdg"
    api_secret: "ObqxwyR20r9rVNhju0sCPQyQA98_FZSc32W4vgxnGFH_b02HZr1BPCJsOAF816nu"
  zltxOrderAfterSaleSupplier:
    enabled: true
    base_url: "https://revcl.1688sup.com/api/admin/afterSales/directs"
  zltxOrderAfterSaleReseller:
    enabled: true
    base_url: "https://revcl.1688sup.com/api/admin/afterSales/reseller_pre_ai"
  zltxOrderAfterSaleResellerBatch:
    enabled: true
    base_url: "https://revcl.1688sup.com/api/admin/afterSales/reseller_pre_ai"
  weather:
    enabled: true
    base_url: "https://restapi.amap.com/v3/weather/weatherInfo"
    api_key: "12afbde5ab78cb7e575ff76bd0bdef2b"
  cozeExpress:
    enabled: true
    base_url: "https://api.coze.cn"
    api_key: "7582477438102552616"
    api_secret: "pat_eEN0BdLNDughEtABjJJRYTW71olvDU0qUbfQUeaPc2NnYWO8HeyNoui5aR9z0sSZ"
  cozeCompany:
    enabled: true
    base_url: "https://api.coze.cn"
    api_key: "7583905168607100978"
    api_secret: "pat_eEN0BdLNDughEtABjJJRYTW71olvDU0qUbfQUeaPc2NnYWO8HeyNoui5aR9z0sSZ"
  zltxResellerAuthProductToManagerAndDefaultLossReason:
    base_url: "https://revcl.1688sup.com/api/admin/reseller/resellerAuthProduct/getManagerAndDefaultLossReason"

#  eino tool 配置
eino_tools:
  # 货易通商品上传
  hytProductUpload:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/goods/supplier/batch/add/complete"
    add_url: "https://hyt.86698.cn/#/goods/goodsManage"
  # 货易通供应商查询
  hytSupplierSearch:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/supplier/list"
  # 货易通仓库查询
  hytWarehouseSearch:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/warehouse/list"
  # 货易通商品添加
  hytGoodsAdd:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/goods/add"
    add_url: "https://hyt.86698.cn/#/goods/goodsManage"
  # 货易通商品图片添加
  hytGoodsMediaAdd:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/media/add/batch"
  # 货易通商品分类添加
  hytGoodsCategoryAdd:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/good/category/relation/add"
  # 货易通商品分类查询
  hytGoodsCategorySearch:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/goods/category/list"
  # 货易通商品品牌查询
  hytGoodsBrandSearch:
    base_url: "https://hyt.86698.cn/admin_upload/api/v1/goods/brand/list"
  # == 电商充值系统 ==
  # 我们的商品统计
  rechargeStatisticsOursProduct:
    base_url: "http://admin.lanseds.cn/admin/statistics/oursProduct"
  # == 通用工具 == 
  # 表格转图片
  excel2pic:
    base_url: "http://192.168.6.115:8010/api/v1/convert"

dingtalk:
  api_key: "dingsbbntrkeiyazcfdg"
  api_secret: "ObqxwyR20r9rVNhju0sCPQyQA98_FZSc32W4vgxnGFH_b02HZr1BPCJsOAF816nu"
  table_demand:
    url: "https://alidocs.dingtalk.com/i/nodes/2Amq4vjg89RnYx9DTp66m2orW3kdP0wQ"
    base_id: "2Amq4vjg89RnYx9DTp66m2orW3kdP0wQ"
    sheet_id_or_name: "数据表"
  # 机器人群组
  bot_group_id:
    bbxt: 29

qywx:
  corp_id: "ww48151f694fb8ec67"
  app_secret: "uYqtdwdtdH4Uv_P4is2AChuGzBCoB6cQDyRvpbW0Vmk"
  token: "zJdukry6"
  aes_key: "4VLH47qRGUogc2d3QLWuUhvJlk8Y0YuRjXzeBquBq8B"
  init_account: "les.,FuZhongYun"
  chat_id_len: 16
  default_config_id: 1
  bot_group_id:
    bbxt: 37

default_prompt:
  img_recognize:
    system_prompt:
      '你是一个具备图像理解与用户意图分析能力的智能助手。当用户提供一张图片时，请完成以下任务：
      1. 关键信息提取：
       提取出图片中对用户可能有用的关键信息（例如金额、日期、标题、编号、联系信息、商品名称等）。
       若图片为文档类（如合同、发票、收据），请结构化输出关键字段（如客户名称、金额、开票日期等）。
      '
    user_prompt: '识别图片内容'

# 权限配置
permissionConfig:
  permission_url: "https://api.user.1688sup.com/v1/menu/myCodes?systemId="