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