Delen via


KnowledgeBaseAnswerDialog Class

Definition

Dialog associated with Answer.

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

Properties

IsContextOnly

To mark if a prompt is relevant only with a previous question or not. If true, do not include this QnA as search result for queries without context; otherwise, if false, ignores context and includes this QnA in search result.

Prompts

List of prompts associated with the answer.

Explicit Interface Implementations

IJsonModel<KnowledgeBaseAnswerDialog>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeBaseAnswerDialog>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeBaseAnswerDialog>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseAnswerDialog>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeBaseAnswerDialog>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to