Skip to main content

Sentiment Analysis

Analyze sentiment of text using AI. Sentiment Analysis node in ActionFlows. Inputs, outputs, and how to use it.

Sentiment Analysis

Overview

Analyze sentiment of text using AI.

Inputs

Standard Inputs

  • Prompttextarea · optional

    Prompt that defines how the AI should analyze sentiment

    Required
    No
    Multiple
    No
    Default
    You are a sentiment analysis expert. Analyze the sentiment of the given text and respond with one of: positive, negative, or neutral.
  • System Prompttextarea · optional

    System prompt that defines how the AI should analyze sentiment

    Required
    No
    Multiple
    No
  • Texttextarea · required

    The text content to analyze for sentiment (positive, negative, neutral)

    Required
    Yes
    Multiple
    No

Advanced Inputs

  • Max Output Tokensnumber · optional

    Maximum number of tokens to generate

    Required
    No
    Multiple
    No
    Default
    4096
    Constraints
    min: 1 · max: 200000 · step: 1 (tokens)
  • Temperatureslider · optional

    Creativity and randomness control (0.0 to 1.0)

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

Outputs

  • Sentimenttext

    The detected sentiment (positive, negative, or neutral)