Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
- 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
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) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec.
17561 17562 17563 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17561 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
17559 17560 17561 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17559 def preamble @preamble end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17566 17567 17568 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17566 def update!(**args) @preamble = args[:preamble] if args.key?(:preamble) end |