def METHOD_NAME(generated_fields, ground_truth_fields):
    total_p_r_f1 = np.array(
        [
            DialogueGenerationMetrics._get_one_f1(generated_fields[i], ground_truth_fields[i])
            for i in range(len(ground_truth_fields))
        ]
    )
    avg_p_r_f1 = np.mean(total_p_r_f1, axis=0)
    return avg_p_r_f1