Skip to main content

Text Classifier

Classify text using AI. Text Classifier node in ActionFlows. Inputs, outputs, and how to use it.

Text Classifier

Overview

Classify text using AI.

Inputs

Standard Inputs

  • Categoriestextarea · required

    List of categories to classify the text into (comma-separated)

    Required
    Yes
    Multiple
    No
  • Prompttextarea · optional

    Prompt that defines how the AI should classify text

    Required
    No
    Multiple
    No
    Default
    You are a text classification expert. Classify the given text into one of the provided categories.
  • System Prompttextarea · optional

    System prompt that defines how the AI should classify text

    Required
    No
    Multiple
    No
  • Texttextarea · required

    The text content to classify into categories

    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

  • Categorytext

    The selected category for the text