import os
from bespokelabs import BespokeLabs
bl = BespokeLabs(
# This is the default and can be omitted
auth_token=os.environ.get("BESPOKE_API_KEY"),
)
response = bl.minicheck.factcheck.create(
claim="claim",
context="context",
)
print(response.support_prob)
Lot more information about the library is available at the .