Skip to main content
Install the official SDK.
Set base_url to the SnapGen OpenAI-compatible endpoint.
To stream, pass stream=True and iterate over the returned events.
See Chat completions for request options.