Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec

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

Overview

Query Rephraser Model specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.



10568
10569
10570
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10568

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

Instance Attribute Details

#model_typeString

Optional. Enabled query rephraser model type. If not set, it will use LARGE by default. Corresponds to the JSON property modelType

Returns:

  • (String)


10566
10567
10568
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10566

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10573
10574
10575
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10573

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