返回顶部
r

rag-query语义检索

Query the RAG knowledge base (Qdrant kb_main) by semantic search. Returns top-k chunks with text, doc_id, source, text_type, topic_tags.

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

rag-query

rag-query

使用方法

bash

最简用法:位置参数作为查询


node skills/rag-query/scripts/query.mjs 渗透测试流程

显式传参 + 控制 top-k 和 topic-tags

node skills/rag-query/scripts/query.mjs \ --query TCP/IP 模型 \ --top-k 5 \ --topic-tags net_basic,protocol

参数说明

参数名是否必需示例值描述
--query是*渗透测试流程查询字符串;也可作为第一个位置参数
--top-k
否 | 5 | 返回片段数量,默认值为 5 | | --topic-tags | 否 | netbasic,protocol | 逗号分隔的标签,用于按 topictags 过滤 | | --collection | 否 | kbmain | Qdrant 集合名称,默认值为 kbmain |

输出为 JSON 数组,每个元素包含 text、docid、source、texttype、topic_tags 字段,可直接注入 Agent 上下文中使用。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 rag-query-1776208492 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 rag-query-1776208492 技能

通过命令行安装

skillhub install rag-query-1776208492

下载

⬇ 下载 rag-query v1.0.1(免费)

文件大小: 3.18 KB | 发布时间: 2026-4-15 14:02

v1.0.1 最新 2026-4-15 14:02
- Updated documentation with improved usage instructions and parameter descriptions.
- Example commands and explanations are now provided in Chinese.
- Clarified output format and usage in agent contexts.
- No code changes; this update is documentation only.

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

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

p2p_official_large
返回顶部