返回顶部
m

multi_call 多路召回

多路召回skill ,用于将意图识别skill中的指标和维度信息进行分析,通过向量知识库召回QA问答对,通过图数据库召回表的定义结构。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
157
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

multi_call

Skill: multi_call

  • - 描述:多路召回技能,将意图识别结果分析后,通过向量知识库召回QA问答对,通过图数据库召回表的DDL结构。
  • 输入:[intentoutput](从 skills/.workflow/intentoutput.json 读取)
  • 输出:[tablescheme, QApairs](写入 skills/.workflow/multicalloutput.json)
  • ID:multi_call
  • 角色:知识召回引擎
  • 功能描述:基于实体标签,从元数据中心检索表结构(Schema)、指标计算口径、枚举值及业务知识。
  • 输入参数:
- finalquery (string):来自 intentoutput.json - indicator_metric (list):指标 + 维度信息
  • - 输出结果:
- table_scheme (string):CREATE TABLE DDL 字符串(来自 Neo4j)。 - QApairs (list):相似问题 + SQL 示例(来自 Milvus)。 - 召回权重:表结构 (0.5) + 指标定义 (0.3) + 知识库 (0.2)。

注入服务(通过 .env 配置)

服务类作用.env 关键配置
RealNeo4jService查询表结构 DDLNEO4JURI / NEO4JUSER / NEO4JPASSWORD
RealMilvusQAService
召回相似 QA 对 | MILVUS, EMBEDDING, MILVUSQACOLLECTION(默认 devvanna_sql) |

两个服务均可独立失败降级:Neo4j 失败时返回空 DDL,Milvus 失败时返回空 QA 对。

独立运行说明

bash

前置:先运行前两步


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

下一步

bash python ../sql-generator/sql_generator.py

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mult-call-1776360843 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mult-call-1776360843 技能

通过命令行安装

skillhub install mult-call-1776360843

下载

⬇ 下载 multi_call v1.0.0(免费)

文件大小: 11.67 KB | 发布时间: 2026-4-17 15:27

v1.0.0 最新 2026-4-17 15:27
Summary: Initial public release for multi_call skill, enabling multi-path recall of QA pairs and table schema based on intent recognition results.

- Retrieves QA pairs using a vector knowledge base (Milvus) and table definitions using a graph database (Neo4j).
- Extracts and analyzes metric and dimension information from recognized intent outputs.
- Outputs include table DDL structure and similar QA pairs, with configurable recall weights for each data source.
- Independent failure handling: gracefully degrades if either Milvus or Neo4j service fails.
- Includes .env configuration for service credentials and supports standalone execution from the command line.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部