AsyncGwenlake, with the same methods awaited. The constructor takes the same arguments as Gwenlake.
Streaming
A streamed chat completion is an async iterator:The transforms and training layers are synchronous and use the sync client. Run them in a thread from an async program if you need to, with
asyncio.to_thread.