Dela via


EntityTag Class

Definition

Entity tag object which contains the name of the tags abd any associated confidence score. Entity Tags are used to express some similarities/affinity between entities.

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

Properties

ConfidenceScore

Detection score between 0 and 1 of the extracted entity.

Name

Name of the tag. Entity Tag names will be unique globally.

Explicit Interface Implementations

IJsonModel<EntityTag>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntityTag>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityTag>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntityTag>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntityTag>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to