你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EntitiesActionContent Class

Definition

Supported parameters for an Entity Recognition task.

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

Constructors

EntitiesActionContent()

Initializes a new instance of EntitiesActionContent.

Properties

Exclusions

(Optional) request parameter that filters out any entities that are included the excludeList. When a user specifies an excludeList, they cannot get a prediction returned with an entity in that list. We will apply inclusionList before exclusionList.

Inclusions

(Optional) request parameter that limits the output to the requested entity types included in this list. We will apply inclusionList before exclusionList.

InferenceOptions

(Optional) request parameter that allows the user to provide settings for running the inference.

LoggingOptOut

logging opt out.

ModelVersion

model version.

OverlapPolicy

(Optional) describes the type of overlap policy to apply to the ner output. Please note EntityOverlapPolicy 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 AllowOverlapEntityPolicyType and MatchLongestEntityPolicyType.

StringIndexType

(Optional) parameter to provide the string index type used to interpret string offsets. Defaults to TextElements (Graphemes).

Explicit Interface Implementations

IJsonModel<EntitiesActionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EntitiesActionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntitiesActionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EntitiesActionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EntitiesActionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to