TextAnalysisModelFactory.HealthcareResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of HealthcareResult.
public static Azure.AI.Language.Text.HealthcareResult HealthcareResult (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.HealthcareActionResult> documents = default);
static member HealthcareResult : seq<Azure.AI.Language.Text.DocumentError> * Azure.AI.Language.Text.RequestStatistics * string * seq<Azure.AI.Language.Text.HealthcareActionResult> -> Azure.AI.Language.Text.HealthcareResult
Public Shared Function HealthcareResult (Optional errors As IEnumerable(Of DocumentError) = Nothing, Optional statistics As RequestStatistics = Nothing, Optional modelVersion As String = Nothing, Optional documents As IEnumerable(Of HealthcareActionResult) = Nothing) As HealthcareResult
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<HealthcareActionResult>
List of result objects for the processed Healthcare documents.
Returns
A new HealthcareResult instance for mocking.