Prompt LibraryEngineering

RAG Hybrid Search Configuration Prompt

Configure hybrid (keyword + vector) search weights.

The prompt

Configure a hybrid retrieval pipeline for the corpus below.
Specify:
- Vector model and dimension.
- Keyword indexer (BM25) and preprocessing (stemming, stop-words).
- The fusion method (RRF or weighted) and recommended weights.
- Top-K per retriever before fusion.
- How to handle zero-result queries.

Corpus description: {{corpus}}
Query types: {{queries}}

Replace the {{fields}} with your own context and tighten the rules to match your domain.

Share this prompt