Package com.tnsai.evaluation.evaluators.rag
package com.tnsai.evaluation.evaluators.rag
RAG (Retrieval-Augmented Generation) evaluation metrics.
Evaluators in this package assess retrieval quality and answer grounding.
All require retrieved_documents in the metadata map as a
List<String> of retrieved document texts.
- Since:
- 0.3.0
-
ClassesClassDescriptionMeasures whether the agent's response actually addresses the user's query.Measures whether retrieved documents are relevant to the query.Measures whether all relevant information needed for the answer was retrieved.Measures whether the agent's response is grounded in retrieved documents.