Class: Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SafetyAttributes
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::SafetyAttributes
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/search_service.rb
Overview
Safety Attribute categories and their associated confidence scores.
Instance Attribute Summary collapse
-
#categories ⇒ ::Array<::String>
The display names of Safety Attribute categories associated with the generated content.
-
#scores ⇒ ::Array<::Float>
The confidence scores of the each category, higher value means higher confidence.
Instance Attribute Details
#categories ⇒ ::Array<::String>
Returns The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
1140 1141 1142 1143 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1140 class SafetyAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#scores ⇒ ::Array<::Float>
Returns The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
1140 1141 1142 1143 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1140 class SafetyAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |