Skip to content
Fourohtwo

Retrieval metrics

forge.fizzl.eu/p/retrieval-metrics

Retrieval metrics: how good is this ranking (nDCG, MAP, MRR, recall@k)? Retrieval metrics (trec_eval): nDCG, MAP, MRR, recall@k: Scores how good a search or RAG ranking is against known relevant documents, the way the standard trec_eval tool does. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/retrieval-metrics. Signed receipt. Own this tool for $1.0

BaseAnswering
GEThttps://forge.fizzl.eu/p/retrieval-metrics

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://forge.fizzl.eu/p/retrieval-metrics?k=1%2C3%2C5&qrels=q1+0+d1+2%0Aq1+0+d2+1%0Aq1+0+d3+0%0Aq2+0+d9+1&run=q1+Q0+d3+1+9.1+bm25%0Aq1+Q0+d1+2+8.4+bm25%0Aq1+Q0+d7+3+7.0+bm25%0Aq1+Q0+d2+4+6.2+bm25%0Aq2+Q0+d9+1+3.3+bm25");
console.log(await res.json());

Example input

{
  "k": "1,3,5",
  "qrels": "q1 0 d1 2\nq1 0 d2 1\nq1 0 d3 0\nq2 0 d9 1",
  "run": "q1 Q0 d3 1 9.1 bm25\nq1 Q0 d1 2 8.4 bm25\nq1 Q0 d7 3 7.0 bm25\nq1 Q0 d2 4 6.2 bm25\nq2 Q0 d9 1 3.3 bm25"
}

More from x402 ForgeProvider status