Compartilhar via


CustomHealthcareEntity Class

Definition

Contains the custom healthcare entity.

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

Properties

Assertion

Assertion of the entity.

Category

Healthcare Entity Category.

ConfidenceScore

Confidence score between 0 and 1 of the extracted entity.

EntityComponentInformation

(Optional) Entity component information listing fired components of the extracted entity. This object only applies for custom healthcare. Please note EntityComponentInformation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LearnedComponent, ListComponent and PrebuiltComponent.

Length

Length for the entity text. Use of different 'stringIndexType' values can affect the length returned.

Links

Entity references in known data sources.

Name

Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'.

Offset

Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned.

Subcategory

(Optional) Entity sub type.

Text

Entity text as appears in the request.

Explicit Interface Implementations

IJsonModel<CustomHealthcareEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomHealthcareEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomHealthcareEntity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomHealthcareEntity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomHealthcareEntity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to