Package version:

Interface SentimentSkillV3

Using the Text Analytics API, evaluates unstructured text and for each record, provides sentiment labels (such as "negative", "neutral" and "positive") based on the highest confidence score found by the service at a sentence and document-level.

interface SentimentSkillV3 {
    context?: string;
    defaultLanguageCode?: string;
    description?: string;
    includeOpinionMining?: boolean;
    inputs: InputFieldMappingEntry[];
    modelVersion?: string;
    name?: string;
    odatatype: "#Microsoft.Skills.Text.V3.SentimentSkill";
    outputs: OutputFieldMappingEntry[];
}

Hierarchy (view full)

Properties

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?: string

A value indicating which language code to use. Default is en.

description?: string

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

includeOpinionMining?: boolean

If set to true, the skill output will include information from Text Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the text. Default is false.

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

modelVersion?: string

The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.

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 '#'.

odatatype

Polymorphic discriminator, which specifies the different types this object can be

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.