共用方式為


TextAnalysisModelFactory.CustomEntitiesActionResult Method

Definition

Initializes a new instance of CustomEntitiesActionResult.

public static Azure.AI.Language.Text.CustomEntitiesActionResult CustomEntitiesActionResult (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.EntityActionResult> documents = default);
static member CustomEntitiesActionResult : seq<Azure.AI.Language.Text.DocumentError> * Azure.AI.Language.Text.RequestStatistics * string * string * seq<Azure.AI.Language.Text.EntityActionResult> -> Azure.AI.Language.Text.CustomEntitiesActionResult
Public Shared Function CustomEntitiesActionResult (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 EntityActionResult) = Nothing) As CustomEntitiesActionResult

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<EntityActionResult>

Enumeration of the document results with detected language.

Returns

A new CustomEntitiesActionResult instance for mocking.

Applies to