🦀 ClawHub
rag-ingest
by @seal-re
将 Agent 已解读好的正文写入 Qdrant(kb_main)。仅做 chunk、embedding 和向量写入,不负责抓取与精炼。
💡 Examples
# 直接通过 --content 传入正文
node skills/rag-ingest/scripts/ingest.mjs \
--doc-id "doc-001" \
--topic-tags "net,security" \
--content "已解读好的长文本..."从 stdin 读取正文(推荐与 deep-research/summarize 配合)
echo "已解读好的长文本..." | node skills/rag-ingest/scripts/ingest.mjs \
--doc-id "doc-002" \
--topic-tags "web,http" \
--source "https://example.com/article"
TERMINAL
clawhub install rag-ingest