Skip to main content

Classification

OpenAI Plugin – Classification Action

Summary (SEO Meta Description):
The Classification Action of the OpenAI Plugin categorizes text into predefined categories using OpenAI’s advanced language models.
It enables automated tagging, content organization, and data labeling inside WeHub workflows.


Overview

The Classification Action allows your workflow to classify text into specific categories based on predefined labels.
This is ideal for sentiment analysis, content moderation, topic tagging, or any task where incoming text needs to be sorted automatically.

Typical Use Cases:

  • Classify customer feedback as positive, neutral, or negative
  • Tag support tickets by topic or urgency
  • Categorize product reviews into relevant segments
  • Automate content moderation and flag inappropriate content
  • Organize large text datasets for analytics or machine learning

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create an OpenAI connectionConnection
Model TypeChoose the AI model for classification: ChatModelGPT4, ChatModelGPT3_5Turbo, ChatModelO1, ChatModelO1Mini, ChatModelGPT4o, ChatModelGPT4oMiniDropdown
TemperatureControls creativity: lower for precise classification, higher for more flexible interpretation (0–2)Number
Max tokenMaximum token limit for the output: short: 0–100, medium: 100–200, long: 200–500Number
CategoriesAdd predefined category names for classificationString List

FAQ

Q: How do I add categories?
A: Enter the desired category names in the Categories field and click the add button to include them.

Q: Can I classify text into multiple categories?
A: Yes. The action can assign multiple categories if the text fits more than one label.

Q: Is the classification supervised?
A: Yes. You define the target categories, and the model classifies input text into those categories.

Q: Which model is best for accurate classification?
A: GPT-4 or GPT-4o generally provide the highest accuracy for nuanced classifications.


Keywords: WeHub OpenAI Plugin, Classification Action, Text Classification, AI Tagging, GPT-4, GPT-3.5, Workflow Automation