Discovery Engine v1beta API - Class SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types.ModelPromptSpec (1.0.0-beta17)

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.

Inheritance

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

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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