Anthropic - Categorize text action

The Categorize text action selects the category that best fits the input text from a list of categories you define in Anthropic. The output datapill returns the best-matching category, or an error if there is no match. Add an explicit no-match option to your list of categories to allow for no match.

Input

Input fieldDescription
ModelSelect the Anthropic model you plan to use. For example, Claude 3 Haiku.
Source textProvide the text you plan to categorize.
List of categoriesEnter categories you plan to sort the text into. Each category has a Category name and an optional Rule providing additional details to help classify what the category represents.
Max tokensEnter the maximum number of tokens to generate before stopping. Defaults to 4096 if left blank.

Output

Output fieldDescription
Best matching categoryThe category that best matches the input text.

Last updated: