Class: Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::DynamicRetrievalPredictorMetadata

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

Overview

Describes the metadata about the dynamic retrieval predictor.

Defined Under Namespace

Modules: Version

Instance Attribute Summary collapse

Instance Attribute Details

#prediction::Float

Returns The value of the predictor. This should be between [0, 1] where a value of 0 means that the query would not benefit from grounding, while a value of 1.0 means that the query would benefit the most. In between values allow to differentiate between different usefulness scores for grounding.

Returns:

  • (::Float)

    The value of the predictor. This should be between [0, 1] where a value of 0 means that the query would not benefit from grounding, while a value of 1.0 means that the query would benefit the most. In between values allow to differentiate between different usefulness scores for grounding.



360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 360

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

  # The version of the predictor which was used in dynamic retrieval.
  module Version
    # Unspecified version, should never be used.
    VERSION_UNSPECIFIED = 0

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

#version::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::DynamicRetrievalPredictorMetadata::Version

Returns The version of the predictor which was used in dynamic retrieval.



360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 360

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

  # The version of the predictor which was used in dynamic retrieval.
  module Version
    # Unspecified version, should never be used.
    VERSION_UNSPECIFIED = 0

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