mlpeek (Tanod) rerank
tanod.dev/v1/rerank
mlpeek (Tanod) rerank: up to 100 documents scored against a query (cross-encoder). Use when an agent has candidate documents for a query and must order them by relevance.
POST
https://tanod.dev/v1/rerankUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/rerank" \
-d '{"query":"how many people live in berlin","documents":["Berlin has 3.7 million inhabitants.","Paris is the capital of France."]}'
# 402 Payment Required comes back with the price and where to pay.Example input
{
"query": "how many people live in berlin",
"documents": [
"Berlin has 3.7 million inhabitants.",
"Paris is the capital of France."
]
}More from Tanod mlpeek
- tanod.dev/v1/audio/speakText to speech API: offline speech in 41 voices and 6 languages (English, Spanish, French, Hindi, Italian, Portuguese), MP3, WAV or Ogg audio (Kokoro-82M, CPU) (mlpeek, Tanod). Use when an agent must turn text into spoken audio in English, Spanish, French, Hindi, Italian or Portuguese.0.005
- tanod.dev/v1/audio/transcribeTranscribe audio to text: speech to text for an audio file of up to 10 minutes. Input: url or file_base64, optional language. Returns text, timed segments, SRT and WebVTT subtitles. Use when an agent must turn spoken audio into text or captions.0.01
- tanod.dev/v1/classify/zero-shotmlpeek (Tanod) zero-shot classification into 1-10 caller labels (NLI, English). Use when an agent must sort an English text into labels it supplies, without training a model.0.001
- tanod.dev/v1/embedmlpeek (Tanod) text embeddings: 384-dim vectors (bge-small-en or multilingual-e5-small). USD 0.0005 per text (1-64 texts per call: USD 0.0005-0.032). This call: 1 text.0.0005
- tanod.dev/v1/embed/multimodalEmbed text and images in one 768-dimensional vector space; priced per item. USD 0.002 per item (1-16 items per call: USD 0.002-0.032). This call: 1 item. Use when an agent needs images and texts embedded in one vector space, for text-to-image search or duplicate photos.0.002
- tanod.dev/v1/nermlpeek (Tanod) named entities: OntoNotes types with offsets (spaCy, English). Use when an agent must find people, organizations, places, dates and amounts in English text.0.001
- tanod.dev/v1/similaritymlpeek (Tanod) semantic similarity of text pairs (cosine of embeddings). USD 0.0005 per pair, at least USD 0.001 per call (1-50 pairs per call: USD 0.001-0.025). This call: 1 pair. Use when an agent must score how close in meaning pairs of texts are.0.001
- tanod.dev/v1/text/injectionCheck text for prompt injection: screen a web page, email or tool result of up to 20,000 characters. Input: text. Returns a verdict, a score and the flagged sentences; automated and heuristic. Use when an agent will act on text it did not write.0.002
- tanod.dev/v1/text/llm-extractExtract schema-matching JSON from up to 8,000 text characters; schema validity does not establish factual accuracy. Use when an agent must turn text, such as an invoice or job post, into JSON that matches its own schema.0.005
- tanod.dev/v1/text/translateTranslate text between English and 14 languages, such as Spanish, German or Japanese, offline. Input: text (up to 5,000 characters), target, optional source. Returns the translation and the language pair. Use when an agent must translate text.0.003
