共用方式為


TextAnalysisModelFactory.CustomHealthcareResult Method

Definition

Initializes a new instance of CustomHealthcareResult.

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

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

List of custom healthcare results for the document.

Returns

A new CustomHealthcareResult instance for mocking.

Applies to