Interview practice question
Chunks lack context and match the wrong documents
Machine Learning · RAG · Intermediate
Chunks like "The deadline is 30 days from notice" match many queries but you can't tell which policy they belong to. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Add document title and section headings to each chunk.
- Generate a short contextual summary per chunk with an LLM.
- Include metadata in embedding text.
- Re-index and evaluate.
- Use small-to-big retrieval for fuller context.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.