Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationMetricsConfig::SemanticSimilarityMetricsConfig.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_semantic_similarity_metrics
def enable_semantic_similarity_metrics() -> ::Boolean- (::Boolean) — Optional. Whether to calculate semantic similarity metrics for the evaluation.
#enable_semantic_similarity_metrics=
def enable_semantic_similarity_metrics=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to calculate semantic similarity metrics for the evaluation.
- (::Boolean) — Optional. Whether to calculate semantic similarity metrics for the evaluation.