Skip to content
Fourohtwo

research.halowerk.com/v1/grounding-score

Splits the answer into sentences and measures, for each one, how much of it is covered by the supplied sources. Coverage is asymmetric on purpose: the question is what share of the statement appears in the source, so a long source can fully cover a short claim, and it combines single-word overlap with word-pair overlap because the same words in a different order can mean something else. Two checks

BaseAnswering
POSThttps://research.halowerk.com/v1/grounding-score

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://research.halowerk.com/v1/grounding-score", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"answer":"Das Unternehmen wurde 1994 gegruendet. Der Umsatz lag zuletzt bei 12 Millionen Euro.","sources":[{"id":"q1","text":"Die Firma wurde im Jahr 1994 in Muenster gegruendet und beschaeftigt heute 80 Personen."}]}),
});
console.log(await res.json());

Example input

{
  "answer": "Das Unternehmen wurde 1994 gegruendet. Der Umsatz lag zuletzt bei 12 Millionen Euro.",
  "sources": [
    {
      "id": "q1",
      "text": "Die Firma wurde im Jahr 1994 in Muenster gegruendet und beschaeftigt heute 80 Personen."
    }
  ]
}