In your application
Call the model from Python, JavaScript, TypeScript, Java, C#, Go, Rust, or C. After the initial download, classification runs offline.
Language examples
Give Classify a sentence and the categories your application understands. Get the best match, or an empty result when the model is unsure.
Get started“This is a terrible movie”
Call the model from Python, JavaScript, TypeScript, Java, C#, Go, Rust, or C. After the initial download, classification runs offline.
Language examplesShare one model across applications through a local HTTP endpoint. Send text and categories with each request.
Server quick startThe managed API is available in preview. Send the same classification request over HTTPS with your preview bearer key.
Hosted API quick start