Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec (v0.8.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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.