Class SemanticSimilarityMetricsConfig (0.7.0)

SemanticSimilarityMetricsConfig(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Configuration for similarity metrics for the evaluation. To disable the metric, set the message but do not set the enable_semantic_similarity_metrics field to true (or explicitly set it to false). To unset the configuration and fallback to the default behavior, omit the message entirely.

Attribute

Name Description
enable_semantic_similarity_metrics bool
Optional. Whether to calculate semantic similarity metrics for the evaluation.