Classify text into categories not seen during training for applications like intent detection, content moderation, and dynamic classification
Set Authorization header to BYTEZ_KEY
'Authorization: YOUR_BYTEZ_KEY_HERE'
Schema for zero-shot-classification models
Successful zero-shot-classification response.
Null on success; otherwise an error message.
Successful response with text-classification sequence, labels, and scores
{
"sequence": "One day I will see the world",
"labels": ["travel", "dancing", "cooking"],
"scores": [
0.9941015839576721,
0.0031261409167200327,
0.002772255800664425
]
}