Share via


EntityActionResult Class

Definition

Contains the entity recognition task result for the document with metadata and detected language.

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

Properties

Name Description
DetectedLanguage

If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document.

Entities

Recognized entities in the document.

Id

Unique, non-empty document identifier.

Statistics

if showStats=true was specified in the request this field will contain information about the document payload.

Warnings

Warnings encountered while processing document.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<EntityActionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntityActionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityActionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntityActionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntityActionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to