bizwechat/test.sh
2025-02-17 10:34:35 +08:00

12 lines
1.5 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

curl localhost:9000/qwen/contracts?apikey=YUVietLgiGmtqzYUVIIGjrNoLMsGM0FI \
-H "Content-Type: application/json" \
-d '{"return_type":"text","question":"2024年项目的平均金额为"}'
# -d '{"return_type":"text","question":"2023公司承接的“合同名称”或“专业”包含工程施工的项目有哪些列出“合同名称”, “签订日期”, “专业”。使用模糊匹配参考SQL语句SELECT `合同名称`, `签订日期`, `专业` FROM contracts WHERE `合同名称` LIKE '%工程施工%' OR `专业` LIKE '%工程施工%'AND 根据2023设置`签订时间`的年份或月份范围) LIMIT 15"}'
# -d '{"return_type":"text","question":"2022公司承接的“客商类型”或“客户名称”包含中国电信的项目有哪些列出“合同名称”“签订时间”“客商类型”。使用模糊匹配参考SQL语句SELECT `合同名称`, `签订日期`, `客商类型`FROM contracts Where `客户名称` LIKE '%中国电信%' OR `客商类型` LIKE '%中国电信%' AND 根据2022设置`签订时间`的年份或月份范围"}'
# -d '{"return_type":"text","question":"2020到2024年承接的地点在“四川省”的“合同签订金额”100万到1000万的项目有哪些今年是2024年。参考sql语句 SELECT `合同名称`, `地点`, `签订日期`, `合同签订金额(人民币)` FROM contracts WHERE `地点` LIKE '%四川省%' AND `合同签订金额(人民币)` >= money AND `签订日期` BETWEEN time1 AND time2"}'