Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Describes the predictor settings for dynamic retrieval.
Instance Attribute Summary collapse
-
#threshold ⇒ Float
The value of the threshold.
-
#version ⇒ String
The version of the predictor to be used in dynamic retrieval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
constructor
A new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.
5332 5333 5334 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#threshold ⇒ Float
The value of the threshold. If the predictor will predict a value smaller than
this, it would suppress grounding in the source.
Corresponds to the JSON property threshold
5325 5326 5327 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5325 def threshold @threshold end |
#version ⇒ String
The version of the predictor to be used in dynamic retrieval.
Corresponds to the JSON property version
5330 5331 5332 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5330 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5337 5338 5339 5340 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5337 def update!(**args) @threshold = args[:threshold] if args.key?(:threshold) @version = args[:version] if args.key?(:version) end |