Files
tool-node/config.json
zhaojunlong 6fc9748009
All checks were successful
Deploy Vue App / build-and-deploy (push) Successful in 9s
```
feat(llm): 添加AI智能分析配置功能

新增LLM配置模块,支持通过阿里云DashScope API进行招标金额的智能提取。
配置包括API Key、Base URL、模型选择等,并提供启用开关。
前端界面增加“AI配置”标签页,包含状态展示、配置表单及测试连接功能。
后端增强parseDetailEnhanced方法,优先使用LLM提取金额,失败时降级至正则表达式。
同时实现LLM状态查询与连接测试接口,确保配置有效性。
配置文件中新增llm字段,默认关闭,支持安全存储API密钥。
```
2025-12-15 17:49:11 +08:00

22 lines
546 B
JSON

{
"scheduler": {
"enabled": false,
"cronTime": "0 9 * * *",
"threshold": 100000,
"description": "每天9点采集大于10亿的项目",
"timeRange": "today"
},
"email": {
"smtpHost": "smtp.qq.com",
"smtpPort": 587,
"smtpUser": "1076597680@qq.com",
"smtpPass": "nfrjdiraqddsjeeh",
"recipients": "5482498@qq.com"
},
"llm": {
"enabled": false,
"apiKey": "sk-c9b41f5fd02a495fb5c3f3497076aae8",
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"model": "qwen-plus"
}
}