Sdílet prostřednictvím


TextAnalysisModelFactory.CustomEntitiesResult Method

Definition

Initializes a new instance of CustomEntitiesResult.

public static Azure.AI.Language.Text.CustomEntitiesResult CustomEntitiesResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentError> errors = default, Azure.AI.Language.Text.RequestStatistics statistics = default, string projectName = default, string deploymentName = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.CustomEntityActionResult> documents = default);
static member CustomEntitiesResult : seq<Azure.AI.Language.Text.DocumentError> * Azure.AI.Language.Text.RequestStatistics * string * string * seq<Azure.AI.Language.Text.CustomEntityActionResult> -> Azure.AI.Language.Text.CustomEntitiesResult
Public Shared Function CustomEntitiesResult (Optional errors As IEnumerable(Of DocumentError) = Nothing, Optional statistics As RequestStatistics = Nothing, Optional projectName As String = Nothing, Optional deploymentName As String = Nothing, Optional documents As IEnumerable(Of CustomEntityActionResult) = Nothing) As CustomEntitiesResult

Parameters

errors
IEnumerable<DocumentError>

Errors by document id.

statistics
RequestStatistics

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

projectName
String

This field indicates the project name for the model.

deploymentName
String

This field indicates the deployment name for the model.

documents
IEnumerable<CustomEntityActionResult>

Enumeration of the document results.

Returns

A new CustomEntitiesResult instance for mocking.

Applies to