Partilhar via


RequestStatistics Class

Definition

if showStats=true was specified in the request this field will contain information about the request payload.

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

Properties

DocumentsCount

Number of documents submitted in the request.

ErroneousDocumentsCount

Number of invalid documents. This includes empty, over-size limit or non-supported languages documents.

TransactionsCount

Number of transactions for the request.

ValidDocumentsCount

Number of valid documents. This excludes empty, over-size limit or non-supported languages documents.

Explicit Interface Implementations

IJsonModel<RequestStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RequestStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RequestStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RequestStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RequestStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to