π String ContainmentΒΆ
metrics.string_containment
Explanation about StringContainmentΒΆ
Checks if any reference string is contained within the prediction.
Range: [0, 1] (higher is better) Returns 1.0 if any reference appears as substring in prediction.
Read more about catalog usage here.