Server Endpoints
/v1/classify/true-false
Identical to `POST /classify/true-false`.
Identical to POST /classify/true-false.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/classify/true-false" \ -H "Content-Type: application/json" \ -d '{ "input": "string" }'{ "object": "classification.true_false", "model": "string", "label": true, "is_true": true, "true_probability": 0.1, "assertion": "string", "usage": { "prompt_tokens": 0, "total_tokens": 0 }}/classify/true-false POST
True/false judgement (NLI entailment of an assertion). Either pass a `question` (auto-reworded into an assertion) or give the `assertion` directly. Returns the probability that each `input` entails the assertion, plus a boolean `is_true` at the given `threshold` (default 0.5).
/health GET
Next Page
RS Infer