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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `ModelPromptSpec` class within the Discovery Engine v1beta API."],["`ModelPromptSpec` is a class used to specify the prompt for a model, as a part of the `SearchRequest.Types.ContentSearchSpec.Types.SummarySpec.Types` hierarchy."],["The `ModelPromptSpec` class has two constructors, `ModelPromptSpec()` and `ModelPromptSpec(ModelPromptSpec other)`, allowing for the creation of new instances or copies."],["It inherits from the `object` class and implements interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`, enabling various functionalities like message handling and cloning."],["The `ModelPromptSpec` class includes a `Preamble` property of type string that represents the instructional text at the beginning of the model prompt."]]],[]]