Optional instructions: stringOptional chatCtx: ChatContextOptional tools: ToolContextOptional instructions: stringRealtimeError on Timeout
Truncate the message at the given audio end time
Optional audioOptional modalities?: Modality[]RealtimeError on Timeout
Optional tool
A session for the OpenAI Realtime API.
This class is used to interact with the OpenAI Realtime API. It is responsible for sending events to the OpenAI Realtime API and receiving events from it.
It exposes two more events: