Share via


EntityRecognitionSkill Constructors

Definition

Overloads

EntityRecognitionSkill()

Initializes a new instance of the EntityRecognitionSkill class.

EntityRecognitionSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, IList<EntityCategory>, Nullable<EntityRecognitionSkillLanguage>, Nullable<Boolean>, Nullable<Double>)

Initializes a new instance of the EntityRecognitionSkill class.

EntityRecognitionSkill()

Source:
EntityRecognitionSkill.cs

Initializes a new instance of the EntityRecognitionSkill class.

public EntityRecognitionSkill ();
Public Sub New ()

Applies to

EntityRecognitionSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, IList<EntityCategory>, Nullable<EntityRecognitionSkillLanguage>, Nullable<Boolean>, Nullable<Double>)

Source:
EntityRecognitionSkill.cs

Initializes a new instance of the EntityRecognitionSkill class.

public EntityRecognitionSkill (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> outputs, string name = default, string description = default, string context = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.EntityCategory> categories = default, Microsoft.Azure.Search.Models.EntityRecognitionSkillLanguage? defaultLanguageCode = default, bool? includeTypelessEntities = default, double? minimumPrecision = default);
new Microsoft.Azure.Search.Models.EntityRecognitionSkill : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.EntityCategory> * Nullable<Microsoft.Azure.Search.Models.EntityRecognitionSkillLanguage> * Nullable<bool> * Nullable<double> -> Microsoft.Azure.Search.Models.EntityRecognitionSkill
Public Sub New (inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry), Optional name As String = Nothing, Optional description As String = Nothing, Optional context As String = Nothing, Optional categories As IList(Of EntityCategory) = Nothing, Optional defaultLanguageCode As Nullable(Of EntityRecognitionSkillLanguage) = Nothing, Optional includeTypelessEntities As Nullable(Of Boolean) = Nothing, Optional minimumPrecision As Nullable(Of Double) = Nothing)

Parameters

inputs
IList<InputFieldMappingEntry>

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

outputs
IList<OutputFieldMappingEntry>

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

name
String

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

description
String

The description of the skill which describes the inputs, outputs, and usage of the skill.

context
String

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

categories
IList<EntityCategory>

A list of entity categories that should be extracted.

defaultLanguageCode
Nullable<EntityRecognitionSkillLanguage>

A value indicating which language code to use. Default is en. Possible values include: 'de', 'en', 'es', 'fr', 'it'

includeTypelessEntities
Nullable<Boolean>

Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced.

minimumPrecision
Nullable<Double>

A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included.

Applies to