Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DynamicRetrievalConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DynamicRetrievalConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Describes the options to customize dynamic retrieval.
Instance Attribute Summary collapse
-
#dynamic_threshold ⇒ Float
Optional.
-
#mode ⇒ String
The mode of the predictor to be used in dynamic retrieval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1DynamicRetrievalConfig
constructor
A new instance of GoogleCloudAiplatformV1DynamicRetrievalConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1DynamicRetrievalConfig
Returns a new instance of GoogleCloudAiplatformV1DynamicRetrievalConfig.
5785 5786 5787 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_threshold ⇒ Float
Optional. The threshold to be used in dynamic retrieval. If not set, a system
default value is used.
Corresponds to the JSON property dynamicThreshold
5778 5779 5780 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5778 def dynamic_threshold @dynamic_threshold end |
#mode ⇒ String
The mode of the predictor to be used in dynamic retrieval.
Corresponds to the JSON property mode
5783 5784 5785 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5783 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5790 5791 5792 5793 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5790 def update!(**args) @dynamic_threshold = args[:dynamic_threshold] if args.key?(:dynamic_threshold) @mode = args[:mode] if args.key?(:mode) end |