Namespace Glitch9.AIDevKit.OpenAI.Realtime
Classes
Conversation
A realtime Conversation consists of a list of Items.
By default, there is only one Conversation, and it gets created at the beginning of the Session. In the future, we may add support for additional conversations.
RateLimit
RealtimeAudioFormatExtensions
RealtimeEvent
Handles all the different types of Realtime API
events
that can be sent to or received from the OpenAI API.
RealtimeEventHandler
RealtimeEventId
Contains all string constants representing OpenAI Realtime Event types.
RealtimeEventReceiver
RealtimeEventReceiverBase
Extend this class if you want to do custom handling of Realtime Events.
RealtimeItem
A realtime Item is of three types: message, function_call, or function_call_output.
A message item can contain text or audio.
A function_call item indicates a model's desire to call a tool.
A function_call_output item indicates a function response.
The client may add and remove message and function_call_output Items using conversation.item.create and conversation.item.delete.
RealtimeItemBuffer<T>
RealtimeItemContent
The content part that is done.
RealtimeItemStatusDetails
RealtimeService
RealtimeSession
A session refers to a single WebSocket connection between a client and the server.
Once a client creates a session, it then sends JSON-formatted events containing text and audio chunks. The server will respond in kind with audio containing voice output, a text transcript of that voice output, and function calls (if functions are provided by the client).
A realtime Session represents the overall client-server interaction, and contains default configuration.
It has a set of default values which can be updated at any time (via session.update) or on a per-response level (via response.create).
RealtimeSessionController
RealtimeUtil
SpeechToTextOptions
Configuration for input audio transcription. Can be set to null to turn off.
TurnDetection
Configuration for turn detection. Can be set to null to turn off.