rerank.co instantly classifies any text into categories you define. No training required.
const result = await classify({
text: "",
labels: []
})
import requests
response = requests.post(
'https://api.rerank.co/classify',
json={
'texts': [
'In a groundbreaking study, researchers have successfully teleported quantum information between two non-adjacent qubits in a superconducting circuit.',
'The new smartphone model has a better battery life and improved camera features.'
],
'labels': ['quantum physics', 'computer science', 'technology']
}
)
result = response.json()
print(result)
No training data required. Just specify your labels and start classifying.
State-of-the-art language models ensure high classification accuracy.
Supports 100+ languages out of the box with consistent performance.
Lightning-fast classification with response times under 100ms.
Enterprise-grade security with data encryption at rest and in transit.
Define any number of custom categories for your specific use case.