We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41824f7 commit 6da748eCopy full SHA for 6da748e
openai-realtime-webrtc-demo/src/main/java/ai/pipecat/openai_realtime_webrtc_demo/VoiceClientManager.kt
@@ -98,9 +98,9 @@ class VoiceClientManager(private val context: Context) {
98
),*/
99
initialConfig = OpenAIRealtimeSessionConfig(
100
voice = "ballad",
101
- turnDetection = Value.Object("type" to Value.Str("semantic_vad")),
102
- inputAudioNoiseReduction = Value.Object("type" to Value.Str("near_field")),
103
- inputAudioTranscription = Value.Object("model" to Value.Str("gpt-4o-transcribe")),
+ turnDetection = Value.Object("type" toStr "semantic_vad"),
+ inputAudioNoiseReduction = Value.Object("type" toStr "near_field"),
+ inputAudioTranscription = Value.Object("model" toStr "gpt-4o-transcribe"),
104
tools = Value.Array(
105
Value.Object(
106
"type" toStr "function",
0 commit comments