Skip to main content
Nimble accepts the System One request format, so you can call every Nimble model with TypeSafe’s Python SDK, typesafe-sdk. This is the Python SDK that these docs use.

Install

Point the SDK at Nimble

Set the base URL to Bespoke Labs, the key to your Bespoke Labs key, and the model to nimble-latest.
You can also set these with environment variables and create the client with no arguments.

Ask questions

Choose a model for one request

The client’s model is the default for every request. Pass model to system_one to use another model for one request, e.g., fact check.
The overview lists every model name. The fact check guide shows the SDK with those models, and how to send fact check’s split_claims with extra_body.

Async