SentimentSkill Constructor
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.
Initializes a new instance of SentimentSkill.
public SentimentSkill (System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> outputs, Azure.Search.Documents.Indexes.Models.SentimentSkill.SkillVersion skillVersion);
new Azure.Search.Documents.Indexes.Models.SentimentSkill : seq<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> * seq<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> * Azure.Search.Documents.Indexes.Models.SentimentSkill.SkillVersion -> Azure.Search.Documents.Indexes.Models.SentimentSkill
Public Sub New (inputs As IEnumerable(Of InputFieldMappingEntry), outputs As IEnumerable(Of OutputFieldMappingEntry), skillVersion As SentimentSkill.SkillVersion)
Parameters
- inputs
- IEnumerable<InputFieldMappingEntry>
Inputs of the skills could be a column in the source data set, or the output of an upstream skill.
- outputs
- IEnumerable<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.
- skillVersion
- SentimentSkill.SkillVersion
Service version information of the skill. Default value is Azure.Search.Documents.Indexes.Models.SentimentSkill.SkillVersion.V1.
Exceptions
inputs
or outputs
is null.
Applies to
Azure SDK for .NET