Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec
- 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
Specification of the prompt to use with the model.
Instance Attribute Summary collapse
-
#preamble ⇒ String
Text at the beginning of the prompt that instructs the assistant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec
Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec.
3066 3067 3068 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preamble ⇒ String
Text at the beginning of the prompt that instructs the assistant. Examples are
available in the user guide.
Corresponds to the JSON property preamble
3064 3065 3066 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3064 def preamble @preamble end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3071 3072 3073 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3071 def update!(**args) @preamble = args[:preamble] if args.key?(:preamble) end |