Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

Describes the options to customize dynamic retrieval.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DynamicRetrievalConfig

Returns a new instance of GoogleCloudAiplatformV1beta1DynamicRetrievalConfig.



396
397
398
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 396

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dynamic_thresholdFloat

Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. Corresponds to the JSON property dynamicThreshold

Returns:

  • (Float)


389
390
391
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 389

def dynamic_threshold
  @dynamic_threshold
end

#modeString

The mode of the predictor to be used in dynamic retrieval. Corresponds to the JSON property mode

Returns:

  • (String)


394
395
396
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 394

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



401
402
403
404
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 401

def update!(**args)
  @dynamic_threshold = args[:dynamic_threshold] if args.key?(:dynamic_threshold)
  @mode = args[:mode] if args.key?(:mode)
end