database: default: name: data/business.db type: sqlite debug: true # 控制台打印所有 SQL 查询 system: name: data/system.db type: sqlite debug: true # 控制台打印所有 SQL 查询 chat: name: data/chat.db type: sqlite debug: true # 控制台打印所有 SQL 查询 cache: ttl: 60 # DAO查询缓存时间(秒),0为禁用缓存 server: address: :8080 name: rag-local workerId: 1 clientMaxBodySize: 209715200 # 200MB 上传文件限制 requestTimeout: 3000 # HTTP请求超时(秒),支持 AI 长响应 # 向量配置 vector: dim: 1024 # 向量维度(须与所用 embedding 模型一致,变更需清库重建) # AI模型调用配置 chat: timeout: 600 # 对话模型API请求超时时间(秒) max_retries: 3 # 请求失败最大重试次数