rag-pipeline
Skill0 starsChanged 3 months agoMITView on GitHub
Build a minimal Retrieval-Augmented Generation pipeline for grounded, cited answers. 搭建最小可用的 RAG 问答流程。
4 other projects use a version of this.
Adopted by
Most recently taken up by
- lauren-framework/lauren-aitheir own version, first seen Nov 1, 2026
- bojieli/ai-agent-book-projectstheir own version, first seen Oct 9, 2026
- bojieli/ai-agent-booktheir own version, first seen Oct 8, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- bojieli/ai-agent-book-projects★ 53ksame name
- bojieli/ai-agent-book★ 53ksame name
- yiweiwan/skills★ 1same name
- lauren-framework/lauren-ai★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- ai-code-reviewSkill
- ai-cost-estimatorSkill
- ai-news-digestSkill
- ai-paper-highlightsSkill
- ai-tools-radarSkill
- ai-writing-assistantSkill
- embedding-searchSkill
- fine-tuning-decisionsSkill
- llm-evaluationSkill
- llm-security-checklistSkill
- mcp-server-guideSkill
- model-comparisonSkill
- prompt-engineering-playbookSkill
- structured-output-validationSkill
The file
Files
RAG Pipeline | RAG 问答流程
Build a minimal RAG (retrieval-augmented generation) pipeline that answers questions from your own documents with citations.
让模型基于你自己的文档作答并给出出处。
When to use | 适用场景
- 用户想「让 AI 读我的文档然后问答」
- 需要比纯 prompt 更可靠的、可溯源的答案
Workflow | 工作流程
- 收集源文档,按 ~500–1000 字切块(chunk)。
- 选 embedding 模型,把每块转成向量。
- 用内存向量库(如
chromadb/faiss,无需密钥)建索引。 - 检索:把问题转向量,取 top-k 相关块。
- 生成:把检索块 + 问题拼进 prompt,要求带出处引用。
Tips | 提示
- chunk 大小和 overlap 直接影响效果,先调这两个参数。
- 检索不到相关内容时让模型明确说「文档里没有」,不要硬答。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

