TextAnalysisModelFactory.HealthcareRelation 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 HealthcareRelation.
public static Azure.AI.Language.Text.HealthcareRelation HealthcareRelation (Azure.AI.Language.Text.RelationType relationType = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.HealthcareRelationEntity> entities = default, double? confidenceScore = default);
static member HealthcareRelation : Azure.AI.Language.Text.RelationType * seq<Azure.AI.Language.Text.HealthcareRelationEntity> * Nullable<double> -> Azure.AI.Language.Text.HealthcareRelation
Public Shared Function HealthcareRelation (Optional relationType As RelationType = Nothing, Optional entities As IEnumerable(Of HealthcareRelationEntity) = Nothing, Optional confidenceScore As Nullable(Of Double) = Nothing) As HealthcareRelation
Parameters
- relationType
- RelationType
Type of relation. Examples include: DosageOfMedication
or 'FrequencyOfMedication', etc.
- entities
- IEnumerable<HealthcareRelationEntity>
The entities in the relation.
Returns
A new HealthcareRelation instance for mocking.