Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
- 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
-
#preamble ⇒ String
Customized preamble.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec.
1118 1119 1120 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preamble ⇒ String
Customized preamble.
Corresponds to the JSON property preamble
1116 1117 1118 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1116 def preamble @preamble end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1123 1124 1125 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1123 def update!(**args) @preamble = args[:preamble] if args.key?(:preamble) end |