Frequently Asked Questions
What is sentence-window retrieval in RAG?
Sentence-window retrieval is an advanced RAG technique where individual sentences are embedded for high-precision search, but the retrieval engine returns the matching sentence along with a surrounding window of adjacent sentences to provide complete context to the LLM.
What is parent-document retrieval?
Parent-document retrieval splits documents into large parent chunks and smaller child chunks. Only the small child chunks are embedded and searched, but when a match occurs, the entire parent chunk is passed to the LLM to preserve full structural context.
What is HyDE (Hypothetical Document Embeddings)?
HyDE is a technique where an LLM generates a hypothetical answer to a user’s question first. That hypothetical answer is then embedded and used to search the vector database, bridging the semantic gap between questions and answers.
What is query expansion in RAG?
Query expansion uses an LLM to generate multiple synonyms, related questions, or sub-queries from a single user prompt, executing them in parallel to maximize document recall.
How much does reranking improve RAG accuracy?
Empirical studies consistently show that adding a cross-encoder reranker improves RAG retrieval precision by 20% to 40% while dramatically reducing model hallucinations caused by irrelevant context chunks.
Further Reading & Primary Sources
- Precise Zero-Shot Dense Retrieval without Relevance Labels (HyDE) (opens in a new tab)arXivThe original paper introducing Hypothetical Document Embeddings for zero-shot dense retrieval.
- BGE Reranker: Large Language Model Cross-Encoder Architecture (opens in a new tab)GitHubOpen-source state-of-the-art cross-encoder reranking models for information retrieval pipelines.
Referenced in These Guides
- What is Multimodal RAG and how does it handle complex visual documents?
- Context rot explained: why bigger context windows don't eliminate RAG
- Self-RAG vs Corrective RAG vs Adaptive RAG: what is the difference?
- The 8 most common RAG mistakes developers make in production
- How to evaluate a RAG system: metrics, benchmarks, and production testing
- RAG reranking explained: why vector similarity fails and how cross-encoders fix it
Put This Into Practice with JobsDart Tools
Test and apply the principles from this guide directly using our dedicated career tools. Designed to eliminate guesswork and surface verified opportunities.
JobsDart Verified Job Discovery
Direct Recruiter ReviewExplore verified global, remote, and corporate tech openings with direct hiring team review and real-time application tracking.
JobsDart Free ATS Resume Checker
Instant AnalysisValidate that your resume formatting and keyword taxonomy match enterprise hiring standards before submitting.
