rag-advanced

Optimize RAG pipelines with HyDE, reranking, and hybrid search.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/JNZader/javi-ai --skill rag-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-advanced
Source: https://github.com/JNZader/javi-ai/tree/main/own/skills/rag-advanced
Command: npx skills add https://github.com/JNZader/javi-ai --skill rag-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advanced RAG patterns address the limitations of basic retrieval by combining hypothetical document embeddings, robust reranking, and hybrid search to significantly improve answer quality in production settings.

Core Features & Use Cases

  • HyDE-based hypothetical document generation to augment retrieval and boost recall
  • Multi-Query Retrieval and Parent Document Retrieval for robust context gathering
  • Contextual compression and cross-encoder reranking to improve result quality
  • Hybrid search with reciprocal rank fusion (RRF) across dense and sparse signals
  • Production-grade integration with LangChain-style pipelines and vector stores
  • Flexible document chunking strategies to balance latency and context

Quick Start

Configure a production RAG workflow that enables HyDE, multi-query retrieval, contextual compression, and hybrid search to begin improving retrieval performance.

Frequently Asked Questions about rag-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve retrieval-augmented generation accuracy in LangChain pipelines?

HyDE, multi-query retrieval, and contextual compression improve retrieval-augmented generation accuracy within LangChain pipelines by refining dense and sparse signal gathering to significantly boost answer quality.

What is HyDE and how does it enhance vector search recall?

HyDE, or hypothetical document embeddings, enhances vector search recall by generating synthetic documents to augment retrieval. This technique boosts context gathering before applying cross-encoder reranking to improve result quality.

How do I combine dense and sparse search using reciprocal rank fusion?

Combine dense and sparse search signals using reciprocal rank fusion (RRF) within a hybrid search configuration. This approach maximizes retrieval performance across large document collections in production RAG pipelines.

When should I use cross-encoder reranking in a production RAG pipeline?

Use cross-encoder reranking in a production RAG pipeline when retrieval quality and answer accuracy across large document collections are critical. It applies contextual compression to filter and prioritize the most relevant chunks.

Can I configure flexible document chunking strategies for hybrid search?

You can configure flexible document chunking strategies to balance latency and context within hybrid search pipelines. This setup supports parent document retrieval and multi-query operations for robust context gathering.

Does basic retrieval fall short for large document collections in RAG applications?

Basic retrieval falls short for large document collections by lacking robust context gathering. Applying advanced patterns like HyDE, cross-encoder reranking, and hybrid search overcomes these limitations to ensure high answer accuracy.