Application Metric Sets
The metric set helpers return an adaptive list of metrics, relevant to the application type
text_metrics()
text_metrics()
Basic metrics for generic text comparison and monitoring
question_and_answer_metrics()
question_and_answer_metrics()
Basic metrics for RAG / question answering
The metric set helpers are adaptive in that :
The metrics returned encode which columns of the dataframe are input to the metric computation e.g.,
rougeL_prediction__ground_truth
is therougeL
metric run with both the column namedprediction
and the column namedground_truth
as inputThe metrics returned support any additional optional column info and LLM-as-judge or embedding model clients. If any of this optional info is not provided, the metric set will exclude any metrics that depend on that information
See the How-To section for concrete examples of adaptive text_metrics()
usage
See the RAG example for question_and_answer_metrics()
usage
Was this helpful?