Classify Text

This action classifies the provided text into one of the categories, specified in the Categories setting, using an AI model.

Action Settings

Setting Description
Categories Required. The categories to classify the text into.
Model The ID of the model to use for generating a response.
Temperature The sampling temperature to use, between 0 and 2. Higher values will make the result more random, lower values - more determined.
Top P This parameter is used as an alternative to the Temperature parameter. It is a number from 0 to 1.
Max Output Tokens The maximum number of output tokens that can be generated for a response, including reasoning.
Max Tool Calls The maximum number of total calls to built-in tools.
Store Determines whether to store the generated response to retrieve it later via API.
ReasoningEffort This parameter guides the model on how much to think when performing a task. Supported values are model-dependent and can include: none, minimal, low, medium, high, and xhigh

Action Parameters

Parameter Description
Text The text to classify. This parameter is required.
PreviousResponseId The unique ID of the previous response to the model. You can use it to create multi-turn conversations.

Result

The action returns the classification results for the provided text.