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 v1beta 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.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.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 |