skills/.workflow/intent_output.json 读取)
skills/.workflow/multicall_output.json)
.env 配置)
| 服务类 | 作用 | .env 关键配置 |
|--------|------|---------------|
| _RealNeo4jService | 查询表结构 DDL | NEO4J_URI / NEO4J_USER / NEO4J_PASSWORD |
| _RealMilvusQAService | 召回相似 QA 对 | MILVUS_, EMBEDDING_, MILVUS_QA_COLLECTION(默认 dev_vanna_sql) |
> 两个服务均可独立失败降级:Neo4j 失败时返回空 DDL,Milvus 失败时返回空 QA 对。
# 前置:先运行前两步
python ../rewrite-question/rewrite_question.py --query "今天汉河店的成交额"
python ../recognize-intent/recognize_intent.py
# 运行多路召回(从 .workflow/intent_output.json 自动读取)
python multi_call.py
# 带清理(清除本步及后续输出)
python multi_call.py --clean
python ../sql-generator/sql_generator.py
共 1 个版本