advancedEvaluators — Testing & Safety

What is the specific risk that a 'RelevancyEvaluator' or similar check is designed to catch in a RAG system?

It catches cases where the retrieved context and the generated answer have drifted apart — the model answered something plausible-sounding but not actually grounded in (or even contradicting) the documents that were retrieved for it, which defeats the entire point of doing retrieval in the first place.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.

What is the specific risk that a 'RelevancyEvaluator' or similar check is designed to catch in a RAG system?

Next Step

Continue to Why is observability especially important for AI features compared to typical CRUD endpoints?← Back to all Spring AI questions