Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/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) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.
10434 10435 10436 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10434 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
10427 10428 10429 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10427 def threshold @threshold end |
#version ⇒ String
The version of the predictor to be used in dynamic retrieval.
Corresponds to the JSON property version
10432 10433 10434 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10432 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10439 10440 10441 10442 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10439 def update!(**args) @threshold = args[:threshold] if args.key?(:threshold) @version = args[:version] if args.key?(:version) end |