rag-design-patterns
CommunityBuild powerful RAG systems, enhance LLM accuracy.
Software Engineering#semantic search#embeddings#vector database#LLM#RAG#retrieval#chunking#reranking
Authorricardoroche
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide to building effective Retrieval Augmented Generation (RAG) systems, addressing challenges like irrelevant retrieval, poor context quality, and inefficient vector search. It ensures your LLMs have access to the most relevant and accurate information, significantly improving response quality.
Core Features & Use Cases
- Document Chunking: Guides on semantic chunking strategies with overlap to preserve context and optimize retrieval.
- Vector Database Integration: Patterns for integrating with vector stores, adding chunks with embeddings, and performing efficient semantic searches.
- Reranking & Query Expansion: Implements reranking for improved precision and query rewriting/expansion to enhance recall.
- Context Assembly: Provides strategies for building concise and token-limited contexts from retrieved chunks for LLM consumption.
- Use Case: A data scientist is building a chatbot that answers questions based on a large knowledge base. This skill helps them implement semantic chunking, integrate with a vector database, use reranking to prioritize relevant documents, and assemble a concise context for the LLM, leading to more accurate answers.
Quick Start
Implement a semantic chunking strategy for a document, ensuring chunks have appropriate overlap and metadata.
Dependency Matrix
Required Modules
numpypydantic
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rag-design-patterns Download link: https://github.com/ricardoroche/ricardos-claude-code/archive/main.zip#rag-design-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.