Compartilhar via


TextAnalysisModelFactory.EntityLinkingResult Method

Definition

Initializes a new instance of EntityLinkingResult.

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

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.

modelVersion
String

This field indicates which model is used for scoring.

documents
IEnumerable<EntityLinkingActionResult>

Response by document.

Returns

A new EntityLinkingResult instance for mocking.

Applies to