rag-implementation
RAG Implementation
Master Retrieval-Augmented Generation (RAG) to build LLM applications that provide accurate, grounded responses using external knowledge sources.
Use this skill when
- Building Q&A systems over proprietary documents
- Creating chatbots with current, factual information
- Implementing semantic search with natural language queries
- Reducing hallucinations with grounded responses
- Enabling LLMs to access domain-specific knowledge
- Building documentation assistants
- Creating research tools with source citation
Do not use this skill when
- You only need purely generative writing without retrieval
- The dataset is too small to justify embeddings
- You cannot store or process the source data safely
Instructions
- Define the corpus, update cadence, and evaluation targets.
- Choose embedding models and vector store based on scale.
- Build ingestion, chunking, and retrieval with reranking.
- Evaluate with grounded QA metrics and monitor drift.
Safety
- Redact sensitive data and enforce access controls.
- Avoid exposing source documents in responses when restricted.
Core Components
🧠 Knowledge Modules (Fractal Skills)
1. 1. Vector Databases
2. 2. Embeddings
3. 3. Retrieval Strategies
4. 4. Reranking
5. Pattern 1: Hybrid Search
6. Pattern 2: Multi-Query Retrieval
7. Pattern 3: Contextual Compression
8. Pattern 4: Parent Document Retriever
9. Recursive Character Text Splitter
10. Token-Based Splitting
11. Semantic Chunking
12. Markdown Header Splitter
13. Pinecone
14. Weaviate
15. Chroma (Local)
16. 1. Metadata Filtering
17. 2. Maximal Marginal Relevance
18. 3. Reranking with Cross-Encoder
19. Contextual Prompt
20. With Citations
21. With Confidence
More from dokhacgiakhoa/antigravity-ide
ui-ux-pro-max-skill
Premium design and micro-interactions toolkit.
89notion-mcp
Official Notion Model Context Protocol Server for workspace interaction.
33filesystem-mcp
Official Filesystem Model Context Protocol Server for local file operations.
24puppeteer-mcp
Official Puppeteer Model Context Protocol Server for browser automation.
15postgres-mcp
Official PostgreSQL Model Context Protocol Server for database interaction.
14ui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
13