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
POST
https://agent-data.centorprat.workers.dev/text/sentimentUptimeNot 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
- agent-data.centorprat.workers.dev/text/classifyClassify text into the best-fitting category WITH the runner-up it rejected and why, and the span that settled it. A text that fits two categories scores 0.5-0.7 rather than claiming 0.95. Real model call, real output, usage.costUsd returned so you can judge the price yourself. A working version of what other listings charge $10 for.0.02
- agent-data.centorprat.workers.dev/text/rewriteRewrite text so it reads clearly and naturally, preserving meaning exactly. Every substantive edit is returned with the original span and the reason, so you diff the result instead of trusting it. Tasks: rewrite, shorten, expand, formalize, simplify, fix. Real model call, real output, usage.costUsd returned so you can judge the price yourself. A working version of what other listings charge $10 fo0.02
