Quiz 5 Question 11 of 20

A software documentation platform builds a RAG system over code repositories. Each repository contains source files, docstrings, inline comments, README files, and API reference documentation. They currently embed all content uniformly. Engineers report that when users ask 'How do I use the authentication middleware?', they retrieve source code chunks rather than the README usage examples, which are more useful for onboarding. What content-type-aware retrieval strategy improves answer quality for usage questions?

Select an answer to reveal the explanation.

Motivation