Skip to main content

Sentiment Analysis

Detect if text is positive, negative, or neutral. Sentiment Analysis node in ActionFlows. Inputs, outputs, and how to use it.

Sentiment Analysis

Overview

Detect if text is positive, negative, or neutral.

Inputs

Standard Inputs

  • Textrequired

    Text to classify as positive, negative, or neutral

    Required
    Yes
    Multiple
    No

Advanced Inputs

  • Max Output Tokensoptional

    Maximum number of tokens to generate

    Required
    No
    Multiple
    No
    Default
    256
    Constraints
    min: 1 · max: 200000 · step: 1 (tokens)
  • Temperatureoptional

    Creativity and randomness control (0.0 to 1.0)

    Required
    No
    Multiple
    No
    Default
    0
    Constraints
    min: 0 · max: 1 · step: 0.01

Outputs

  • Confidencenumber

    Confidence from 0 to 1

  • Scorenumber

    Score from -1 (negative) to 1 (positive)

  • Sentimenttext

    The detected sentiment (positive, negative, or neutral)