cohere_classify
Classify texts into custom categories by providing few-shot examples. Uses Cohere's classification model to sort inputs into defined categories.
Instructions
Classify texts into categories using Cohere Classify with few-shot examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| inputs | Yes | JSON array of strings to classify | |
| api_key | No | ||
| examples | Yes | JSON array of {text, label} few-shot examples |