classify
Categorize text into specified labels using zero-shot classification without prior training.
Instructions
Zero-shot классификация текста по заданным меткам.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"labels": "<labels>"
},
"name": "classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Текст для классификации | |
| model | No | Модель для классификации | yandexgpt-lite |
| labels | Yes | Массив меток для zero-shot классификации | |
| instruction | No | Дополнительная инструкция для классификатора |