1
Get an API key
Create a key in the Bespoke Labs console. Then set it in your shell:
2
Install the SDK
3
Check a claim
Request and response
client.minicheck.factcheck.create sends a POST request to /v0/minicheck/factcheck. It takes two arguments:
claimis the sentence to check.contextis the document to check the claim against.
support_prob is a float from 0 to 1, and it is the probability that the context supports the claim.
For all SDK options, see the SDK repository.