What problem does it solve?
This Skill addresses the challenges of building efficient and effective RAG (Retrieval-Augmented Generation) pipelines, providing robust chunking, embedding, and retrieval strategies.
Core Features & Use Cases
- Expert Chunking: Implement optimal chunking strategies for efficient document processing.
- Embedding Model Selection: Utilize the same embedding model for ingestion and query to ensure consistency.
- Vector Store Operations: Index vectors with metadata for precise retrieval.
- Hybrid Retrieval: Combine dense and sparse retrieval for comprehensive search.
- Context-Window Assembly: Assemble retrieved chunks into a coherent prompt.
- Hallucination Mitigation: Instruct models to stay grounded and verify claims.
- Evaluation: Measure retrieval and generation quality for continuous improvement.
- Use Case: Enhance the performance of a RAG pipeline for code documentation, improving recall and precision.
Quick Start
To start using the rag-patterns skill, run the following command in your terminal: ./.venv/bin/python tools/codev/scripts/validate-route-smoke.py