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, IMessageReference 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.
Implements
IMessageSearchRequestTypesContentSearchSpecTypesSummarySpecTypesModelPromptSpec, IEquatableSearchRequestTypesContentSearchSpecTypesSummarySpecTypesModelPromptSpec, IDeepCloneableSearchRequestTypesContentSearchSpecTypesSummarySpecTypesModelPromptSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
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 |
|