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 is for the `PromptSpec` class, which is part of the Google Cloud Discovery Engine v1beta API, specifically within version 1.0.0-beta17."],["The `PromptSpec` class is used to define the specification for answer generation prompts within the `AnswerQueryRequest` and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`PromptSpec` includes a property called `Preamble` which is of type string, enabling users to set a custom preamble for the prompt."],["The `PromptSpec` class provides two constructors: a default constructor `PromptSpec()` and another one `PromptSpec(PromptSpec other)` that allows copying the fields from a provided instance."]]],[]]