Udostępnij za pośrednictwem


ConversationResult Class

Definition

The response returned by a Conversation project.

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

Properties

DetectedLanguage

The detected language from the query in BCP 47 language representation.

Prediction

The predicted result for the query.

Query

The same query given in request.

Explicit Interface Implementations

IJsonModel<ConversationResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to