RealtimeSessionConfig
type RealtimeSessionConfig = object;
Properties
Section titled “Properties”inputAudioFormat
Section titled “inputAudioFormat”inputAudioFormat: RealtimeAudioFormat;
inputAudioTranscription
Section titled “inputAudioTranscription”inputAudioTranscription: Record<string, any>;
instructions
Section titled “instructions”instructions: string;
modalities
Section titled “modalities”modalities: ("text" | "audio")[];
model: string;
outputAudioFormat
Section titled “outputAudioFormat”outputAudioFormat: RealtimeAudioFormat;
providerData?
Section titled “providerData?”optional providerData: Record<string, any>;
toolChoice
Section titled “toolChoice”toolChoice: ModelSettingsToolChoice;
tools: FunctionToolDefinition[];
tracing?
Section titled “tracing?”optional tracing: RealtimeTracingConfig | null;
turnDetection
Section titled “turnDetection”turnDetection: Record<string, any>;
voice: string;