Discovery Engine v1 API - Class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec (1.2.0)

public sealed class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec : IMessage<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec>, IEquatable<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec>, IDeepCloneable<SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec.

Specification of the prompt to use with the model.

Inheritance

object > SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ModelPromptSpec()

public ModelPromptSpec()

ModelPromptSpec(ModelPromptSpec)

public ModelPromptSpec(SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec other)
Parameter
Name Description
other SearchRequestTypesContentSearchSpecTypesSummarySpecTypesModelPromptSpec

Properties

Preamble

public string Preamble { get; set; }

Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.

Property Value
Type Description
string