Skip to content
Fourohtwo

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.

SolanaUnchecked
POSThttps://tanod.dev/v1/rerank

UptimeNot 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