다음을 통해 공유


ConversationsModelFactory.RequestStatistics Method

Definition

Initializes a new instance of RequestStatistics.

public static Azure.AI.Language.Conversations.Models.RequestStatistics RequestStatistics (int documentsCount = 0, int validDocumentsCount = 0, int erroneousDocumentsCount = 0, long transactionsCount = 0);
static member RequestStatistics : int * int * int * int64 -> Azure.AI.Language.Conversations.Models.RequestStatistics
Public Shared Function RequestStatistics (Optional documentsCount As Integer = 0, Optional validDocumentsCount As Integer = 0, Optional erroneousDocumentsCount As Integer = 0, Optional transactionsCount As Long = 0) As RequestStatistics

Parameters

documentsCount
Int32

Number of documents submitted in the request.

validDocumentsCount
Int32

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

erroneousDocumentsCount
Int32

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

transactionsCount
Int64

Number of transactions for the request.

Returns

A new RequestStatistics instance for mocking.

Applies to