NamedEntity Class
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.
Text that has been categorized into pre-defined classes or types such as: person, location, event, product, and organization.
public class NamedEntity : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.NamedEntity>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.NamedEntity>
type NamedEntity = class
interface IJsonModel<NamedEntity>
interface IPersistableModel<NamedEntity>
Public Class NamedEntity
Implements IJsonModel(Of NamedEntity), IPersistableModel(Of NamedEntity)
- Inheritance
-
NamedEntity
- Implements
Properties
Category |
Entity type. |
ConfidenceScore |
Confidence score between 0 and 1 of the extracted entity. |
Length |
Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. |
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<NamedEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<NamedEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<NamedEntity>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<NamedEntity>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<NamedEntity>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |