Tasks / Rightbrain Internal

Product Classifier

Classifies products by assigning a primary category and relevant subcategories, through detailed analysis of the product name and description. This ensures precise, hierarchical organisation, enhancing product management and discoverability.

meta-llama/llama-4-maverick-17b-128e-instruct
9 views
December 12, 2025

Sign up for a free trial to Clone, Customise and Run

Task Logic

User Prompt Template

CORE INSTRUCTION

Instructions sent to the model. Dynamic variables {brackets} are replaced at runtime.

Goal:
Classify a product by assigning it to a primary category and relevant subcategories based on its name and description.

Input Parameters:
- {product_name}: The name or title of the product to be classified
- {product_description}: The detailed description of the product including features, specifications, and characteristics

Processing Steps:
1. Review the product name to identify obvious category indicators such as product type, brand positioning, or functional descriptors
2. Analyse the product description thoroughly to extract key attributes including functionality, materials, target audience, use cases, and distinguishing features
3. Determine the primary category by identifying the broadest classification that best represents the product's core purpose or function
4. Identify all relevant subcategories that provide additional classification granularity based on specific attributes, features, or use cases
5. Validate that the primary category and subcategories form a logical hierarchical relationship

Critical Rules:
- Assign exactly one primary category per product
- Include at least one subcategory but may include multiple where appropriate
- Base classifications solely on information provided in the product name and description
- Avoid creating overly specific or obscure categories that would not be useful for organisation

Interface Definition

Inputs
product_name
Text Input
product_description
Text Input
Output Schema

Try this AI task with your own data

Free trial - no credit card required