Skip to content
Fourohtwo

Sentiment with the EVIDENCE

agent-data.centorprat.workers.dev/text/sentiment

Sentiment with the EVIDENCE: a label, a calibrated score from -1 to 1, and the exact spans from your text that drove the judgement, verified to actually appear in the input. Returns mixed when the text is mixed. Scores are not a fixed constant -- a two-sided review comes back around -0.4, not 0.8. Real model call, real output, usage.costUsd returned so you can judge the price yourself. A working v

BasePolygonSolanaUnchecked
POSThttps://agent-data.centorprat.workers.dev/text/sentiment

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data.centorprat.workers.dev/text/sentiment", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"me and him was going to the store yesterday but it dont work out"}),
});
console.log(await res.json());

Example input

{
  "text": "me and him was going to the store yesterday but it dont work out"
}

More from Text Intelligence