Your own labels, no training
Provide any set of labels and each one is scored against the text — change them whenever you like.
Send a `text` and a list of candidate `labels`, and get back the best-matching label,
Learn more about Zero-Shot ClassificationResults show up here
The sample input is ready — just hit Run.
Send a text and a list of candidate labels, and get back the best-matching label, its confidence score, and an all_scores map of every label to its score. You define the labels at request time, so there's no training step and no model to manage. Responses are synchronous — one request, one result. Great for routing tickets, tagging content and detecting intent.
Provide any set of labels and each one is scored against the text — change them whenever you like.
Get the single best label plus a complete label-to-score map for everything else.
Send text and labels as JSON and get a structured result back.
Works across languages — keep your labels in the same language as the text for best results.
Ticket routing
Sort support tickets into departments (billing / technical / sales) without a custom model.
Content tagging
Assign your own tags to articles, reviews or posts from any label set.
Intent detection
Detect user intent (greeting, question, complaint, request) from a label list.
input
text: a string to classify, plus labels: an array of candidate labels.
output
The top label, its score, and an all_scores map of every label to its score.
text and a list of candidate labels.data.label with its score.all_scores — sort it by value to see how every label scored.all_scores by value (descending) — the top entry matches data.label.textrequiredstringThe text to classify.
labelsrequiredarray<string>Candidate labels — keep them in the same language as the text for best results.
labelstringBest-matching label.
scorenumberConfidence of the top label, from 0 to 1.
all_scoresobject<string,number>Map of every label to its score. Sort by value to rank the labels.
Billed per request, regardless of the number of labels.
| Service | Unit | Price |
|---|---|---|
| Zero-Shot Classification | item | $0.006/request |