Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
- 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
-
#preamble ⇒ String
Customized preamble.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec.
2982 2983 2984 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preamble ⇒ String
Customized preamble.
Corresponds to the JSON property preamble
2980 2981 2982 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2980 def preamble @preamble end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2987 2988 2989 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2987 def update!(**args) @preamble = args[:preamble] if args.key?(:preamble) end |