Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec

Inherits:
Object
  • Object
show all
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

Answer generation prompt specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec.



4622
4623
4624
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4622

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

Instance Attribute Details

#preambleString

Customized preamble. Corresponds to the JSON property preamble

Returns:

  • (String)


4620
4621
4622
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4620

def preamble
  @preamble
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4627
4628
4629
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4627

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