POST /v1/systemone with one of the fact check models:
- Put the document in
state, as a string. - Add one
noulquestion for each claim, with the claim ininstructions. - The question IDs are your own. The answers use the same IDs.
Make a request
Read the answer
noulis the probability that the document supports every part of the claim.- A claim counts as supported when
noulis above 0.5. You can use a higher threshold, e.g., 0.8, when a wrong “supported” costs you more than a wrong “not supported”. - A claim that the document contradicts and a claim that the document does not mention are both not supported.
Models
The largest models of
nimble-factcheck-max are running on weekdays from 07:30 to 19:00 Pacific time. At other times, a request that needs those models gets 503 with a Retry-After header while the models start. Starting takes from about 5 to 20 minutes. You are not charged for a 503.
Options
split_claims is true by default. Nimble then scores each sentence of a claim on its own and keeps the lowest score. Set it to false to score each claim whole. Put it at the top level of the request, next to model.
Limits
The questions must be
noul questions with no criteria. Any other question gets 422.
Nimble splits a long document into parts. A sentence counts as supported if any part supports it.