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.



11573
11574
11575
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11573

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)


11571
11572
11573
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11571

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11578
11579
11580
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11578

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