界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

retrieval-rag

retrieval-rag

【效率与协作】Use R2R search, RAG, agent, completion, embedding, streaming citations, and retrieval troubleshooting workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: retrieval-rag description: "Use R2R search, RAG, agent, completion, embedding, streaming citations, and retrieval troubleshooting workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Retrieval RAG

Use this sub-skill when the user wants to search R2R content, run RAG or agent flows, handle streaming citations, or tune retrieval settings.

What it owns

  • search modes and search settings
  • RAG, agent, completion, and embedding calls
  • streaming event handling and citation handling
  • retrieval-focused troubleshooting

Start here

from r2r import R2RClient

client = R2RClient(base_url="http://localhost:7272")
response = client.retrieval.search(query="What is in the corpus?")
print(response.results)

Route out when the work becomes another topic

  • Preparing or validating the ingested corpus: ../ingestion-documents/SKILL.md
  • Building or repairing graph data: ../graph-workflows/SKILL.md
  • Server/provider setup needed for RAG to work: ../server-configuration/SKILL.md
  • JavaScript client usage: ../javascript-sdk/SKILL.md

Bundled assets

  • references/search-rag-agent-reference.md
  • references/streaming-and-citations.md
  • references/troubleshooting.md
  • scripts/retrieval_request_builder.py
我的收藏