examples/research_projects/rag/eval_rag.py/metric_max_over_ground_truths
def metric_max_over_ground_truths(metric_fn, prediction, ground_truths):
    return max(metric_fn(prediction, gt) for gt in ground_truths)