Class: Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::DynamicRetrievalConfiguration::DynamicRetrievalPredictor

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

Overview

Describes the predictor settings for dynamic retrieval.

Defined Under Namespace

Modules: Version

Instance Attribute Summary collapse

Instance Attribute Details

#threshold::Float

Returns The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source.

Returns:

  • (::Float)

    The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source.



146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 146

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

  # The version of the predictor to be used in dynamic retrieval.
  module Version
    # Automatically choose the best version of the retrieval predictor.
    VERSION_UNSPECIFIED = 0

    # The V1 model which is evaluating each source independently.
    V1_INDEPENDENT = 1
  end
end

#version::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::DynamicRetrievalConfiguration::DynamicRetrievalPredictor::Version

Returns The version of the predictor to be used in dynamic retrieval.



146
147
148
149
150
151
152
153
154
155
156
157
158
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 146

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

  # The version of the predictor to be used in dynamic retrieval.
  module Version
    # Automatically choose the best version of the retrieval predictor.
    VERSION_UNSPECIFIED = 0

    # The V1 model which is evaluating each source independently.
    V1_INDEPENDENT = 1
  end
end