Skip to main content
The bespokelabs package calls Nimble with no extra setup. Version 0.3.0 and later support Nimble. The SDK sends requests to /v1/nimble/systemone, which takes the same requests as /v1/systemone.

Install

Ask questions

The client reads your key from BESPOKE_API_KEY. You can also pass api_key= to BespokeLabs().
model defaults to nimble-latest, the newest general model. Pass model="nimble-v3" to stay on the current model when a newer one comes out.

Choose a model

Pass model to use fact check or code search. The request and the answers have the same shape.
A code search response has fields that other models do not return, e.g., details. You can read them as attributes of the response, e.g., response.details. The code search guide shows a full request.

Async