Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec

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

Overview

Answer generation prompt specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec

Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec.



697
698
699
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 697

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

Instance Attribute Details

#preambleString

Customized preamble. Corresponds to the JSON property preamble

Returns:

  • (String)


695
696
697
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 695

def preamble
  @preamble
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



702
703
704
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 702

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