Class: Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::GroundingSpec

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

Overview

Grounding specification.

Defined Under Namespace

Modules: FilteringLevel

Instance Attribute Summary collapse

Instance Attribute Details

#filtering_level::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::GroundingSpec::FilteringLevel



392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 392

class GroundingSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Level to filter based on answer grounding.
  module FilteringLevel
    # Default is no filter
    FILTERING_LEVEL_UNSPECIFIED = 0

    # Filter answers based on a low threshold.
    FILTERING_LEVEL_LOW = 1

    # Filter answers based on a high threshold.
    FILTERING_LEVEL_HIGH = 2
  end
end

#include_grounding_supports::Boolean



392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 392

class GroundingSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Level to filter based on answer grounding.
  module FilteringLevel
    # Default is no filter
    FILTERING_LEVEL_UNSPECIFIED = 0

    # Filter answers based on a low threshold.
    FILTERING_LEVEL_LOW = 1

    # Filter answers based on a high threshold.
    FILTERING_LEVEL_HIGH = 2
  end
end