Unable to Interrupt Model in Realtime API Using ServerVAD #373
Unanswered
marianafdz465
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @marianafdz465, I've not personally tried out these features myself. But did you send another user message to the model? I think it should also interrupt if the user sends any speech and it is detected as well. Do you have some debug information or a repro steps I can take to test this out myself? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I’m currently implementing the Realtime API using the OpenAIRealTimeSample scene provided in the SDK. Everything is working as expected except for the ability to interrupt the model while it is speaking.
I’ve added the turnDetectionSettings when creating the SessionConfiguration, as shown below:
new SessionConfiguration( model: Model.GPT4oRealtime, instructions: systemPrompt, turnDetectionSettings: new ServerVAD( createResponse: true, interruptResponse: true ), voice: Voice.Verse, tools: tools )
Despite this configuration, the model continues speaking and does not stop when I start talking. Is there something else I need to implement on the client side to enable interruption?
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions