Class HealthcareEntityRelation
java.lang.Object
com.azure.ai.textanalytics.models.HealthcareEntityRelation
The
HealthcareEntityRelation
Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles
within the relation context.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the confidenceScore property: Confidence score between 0 and 1 of the extracted relation.Gets the relationType property: Type of relation.com.azure.core.util.IterableStream<HealthcareEntityRelationRole>
getRoles()
Gets the entities property: The entities in the relation.
-
Constructor Details
-
HealthcareEntityRelation
public HealthcareEntityRelation()
-
-
Method Details
-
getRelationType
Gets the relationType property: Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc.- Returns:
- The relationType value.
-
getRoles
Gets the entities property: The entities in the relation.- Returns:
- The entities value.
-
getConfidenceScore
public double getConfidenceScore()Get the confidenceScore property: Confidence score between 0 and 1 of the extracted relation.- Returns:
- the confidenceScore value.
-