Python
Install the SDK:JavaScript / TypeScript
Install the SDK:Environment variables
The OpenAI SDKs also read configuration from the environment. Set these and you can drop the explicit arguments:What’s supported
The chat completions surface follows the OpenAI schema. A few notes:- Set the
modelto a Deepshi catalog id (for exampledeepshi-3.0), not an OpenAI model name, unless you’re deliberately calling a frontier model exposed by Deepshi. - Parameters a given model doesn’t support are ignored rather than rejected.
- Streaming uses the same
stream: trueflag and SSE format. See Streaming.