Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec (v0.7.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec.

Specification of the prompt to use with the model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#preamble

def preamble() -> ::String
Returns
  • (::String) — Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.

#preamble=

def preamble=(value) -> ::String
Parameter
  • value (::String) — Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.
Returns
  • (::String) — Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.