KnowledgeBaseAnswerPrompt Class

Definition

Prompt for an answer.

public class KnowledgeBaseAnswerPrompt : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswerPrompt>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswerPrompt>
type KnowledgeBaseAnswerPrompt = class
    interface IJsonModel<KnowledgeBaseAnswerPrompt>
    interface IPersistableModel<KnowledgeBaseAnswerPrompt>
Public Class KnowledgeBaseAnswerPrompt
Implements IJsonModel(Of KnowledgeBaseAnswerPrompt), IPersistableModel(Of KnowledgeBaseAnswerPrompt)
Inheritance
KnowledgeBaseAnswerPrompt
Implements

Properties

DisplayOrder

Index of the prompt - used in ordering of the prompts.

DisplayText

Text displayed to represent a follow up question prompt.

QnaId

QnA ID corresponding to the prompt.

Explicit Interface Implementations

IJsonModel<KnowledgeBaseAnswerPrompt>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KnowledgeBaseAnswerPrompt>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeBaseAnswerPrompt>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseAnswerPrompt>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KnowledgeBaseAnswerPrompt>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to