TextAnalysisModelFactory.CustomHealthcareActionResult 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 CustomHealthcareActionResult.
public static Azure.AI.Language.Text.CustomHealthcareActionResult CustomHealthcareActionResult (string id = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentWarning> warnings = default, Azure.AI.Language.Text.DocumentStatistics statistics = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.CustomHealthcareEntity> entities = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.HealthcareRelation> relations = default, Azure.AI.Language.Text.DetectedLanguage detectedLanguage = default);
static member CustomHealthcareActionResult : string * seq<Azure.AI.Language.Text.DocumentWarning> * Azure.AI.Language.Text.DocumentStatistics * seq<Azure.AI.Language.Text.CustomHealthcareEntity> * seq<Azure.AI.Language.Text.HealthcareRelation> * Azure.AI.Language.Text.DetectedLanguage -> Azure.AI.Language.Text.CustomHealthcareActionResult
Public Shared Function CustomHealthcareActionResult (Optional id As String = Nothing, Optional warnings As IEnumerable(Of DocumentWarning) = Nothing, Optional statistics As DocumentStatistics = Nothing, Optional entities As IEnumerable(Of CustomHealthcareEntity) = Nothing, Optional relations As IEnumerable(Of HealthcareRelation) = Nothing, Optional detectedLanguage As DetectedLanguage = Nothing) As CustomHealthcareActionResult
Parameters
- id
- String
Unique, non-empty document identifier.
- warnings
- IEnumerable<DocumentWarning>
Warnings encountered while processing document.
- statistics
- DocumentStatistics
if showStats=true was specified in the request this field will contain information about the document payload.
- entities
- IEnumerable<CustomHealthcareEntity>
Healthcare entities.
- relations
- IEnumerable<HealthcareRelation>
Healthcare entity relations.
- detectedLanguage
- DetectedLanguage
If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document.
Returns
A new CustomHealthcareActionResult instance for mocking.