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"]],[["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 documentation provides details for the `PromptSpec` class, which is part of the Discovery Engine v1beta API and is used for specifying answer generation prompts."],["The `PromptSpec` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, ensuring it supports various functionalities such as message handling, equality checks, deep cloning, and buffer-based operations."],["The `PromptSpec` class has two constructors, one default and one that allows for creating a new instance by copying from another `PromptSpec` object."],["The `PromptSpec` class includes a `Preamble` property of type string that allows for the definition and setting of a customized preamble."]]],[]]