Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary::SafetyAttributes

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb

Overview

Safety Attribute categories and their associated confidence scores.

Instance Attribute Summary collapse

Instance Attribute Details

#categories::Array<::String>

Returns The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.

Returns:

  • (::Array<::String>)

    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.



825
826
827
828
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 825

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.

Returns:

  • (::Array<::Float>)

    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.



825
826
827
828
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 825

class SafetyAttributes
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end