Partilhar via


ConversationStatistics Class

Definition

If showStats=true was specified in the request, this field contains information about the conversation payload.

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

Properties

TransactionsCount

Number of text units for the request.

Explicit Interface Implementations

IJsonModel<ConversationStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to