Scores relevance of retrieved document chunks against a query to rank and prioritize context for RAG-based agents.