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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This documentation is for the `ModelPromptSpec` class within the Google Cloud Discovery Engine v1 API, which is used to specify the prompt for a model in search requests."],["The `ModelPromptSpec` class is part of a nested structure within the API, extending from `SearchRequest` down to `ModelPromptSpec`."],["This class implements several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class."],["The class offers two constructors: a default constructor and one that takes another `ModelPromptSpec` instance for copying."],["It includes a `Preamble` property which allows for setting the instructional text at the start of a model prompt, with examples provided in the user guide."]]],[]]