public sealed class AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec : IMessage<AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec>, IEquatable<AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec>, IDeepCloneable<AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class AnswerQueryRequest.Types.AnswerGenerationSpec.Types.PromptSpec.
[[["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."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003ePromptSpec\u003c/code\u003e class, which is part of the Discovery Engine v1beta API and is used for specifying answer generation prompts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromptSpec\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring it supports various functionalities such as message handling, equality checks, deep cloning, and buffer-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromptSpec\u003c/code\u003e class has two constructors, one default and one that allows for creating a new instance by copying from another \u003ccode\u003ePromptSpec\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromptSpec\u003c/code\u003e class includes a \u003ccode\u003ePreamble\u003c/code\u003e property of type string that allows for the definition and setting of a customized preamble.\u003c/p\u003e\n"]]],[],null,[]]