#contexts for websocket
1 messages · Page 1 of 1 (latest)
Thanks for flagging @tall abyss ! CC: @jovial cove
merged a fix
I fixed the link where you found it
i.e. on the TTS (WebSocket) page
So it will go to the correct URL now
@jovial cove Do you think you could potentially respond to my "help figuring out streaming" thread please? There is very little Python documentation, and we'd appreciate help!
Another possible Docs related issue: https://docs.cartesia.ai/api-reference/tts/tts#send.Cancel Context Request.cancel it says it is requred, but then a default is assigned, and set to True.
This endpoint creates a bidirectional WebSocket connection. The connection supports multiplexing, so you can send multiple requests and receive the corresponding responses in parallel.
The WebSocket API is built around contexts:
- When you send a generation request, you pass a
context_id. Further inputs on the samecontext_idwill [conti...