다음을 통해 공유


HealthcareRelation Class

Definition

Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context.

public class HealthcareRelation : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.HealthcareRelation>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.HealthcareRelation>
type HealthcareRelation = class
    interface IJsonModel<HealthcareRelation>
    interface IPersistableModel<HealthcareRelation>
Public Class HealthcareRelation
Implements IJsonModel(Of HealthcareRelation), IPersistableModel(Of HealthcareRelation)
Inheritance
HealthcareRelation
Implements

Properties

ConfidenceScore

Confidence score between 0 and 1 of the extracted relation.

Entities

The entities in the relation.

RelationType

Type of relation. Examples include: DosageOfMedication or 'FrequencyOfMedication', etc.

Explicit Interface Implementations

IJsonModel<HealthcareRelation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<HealthcareRelation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HealthcareRelation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HealthcareRelation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<HealthcareRelation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to