SentimentSkill Constructors

Definition

Overloads

SentimentSkill()

Initializes a new instance of the SentimentSkill class.

SentimentSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<SentimentSkillLanguage>)

Initializes a new instance of the SentimentSkill class.

SentimentSkill()

Initializes a new instance of the SentimentSkill class.

public SentimentSkill ();
Public Sub New ()

SentimentSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<SentimentSkillLanguage>)

Initializes a new instance of the SentimentSkill class.

public SentimentSkill (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> outputs, string name = null, string description = null, string context = null, Nullable<Microsoft.Azure.Search.Models.SentimentSkillLanguage> defaultLanguageCode = null);
new Microsoft.Azure.Search.Models.SentimentSkill : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> * string * string * string * Nullable<Microsoft.Azure.Search.Models.SentimentSkillLanguage> -> Microsoft.Azure.Search.Models.SentimentSkill
Public Sub New (inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry), Optional name As String = null, Optional description As String = null, Optional context As String = null, Optional defaultLanguageCode As Nullable(Of SentimentSkillLanguage) = null)

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.

defaultLanguageCode
Nullable<SentimentSkillLanguage>

A value indicating which language code to use. Default is en. Possible values include: 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'it', 'no', 'pl', 'pt-PT', 'ru', 'es', 'sv', 'tr'

Applies to