Hi everyone,
I’ve been working with the WebRTC template.
When I interrupt the model using my voice, the audio output from the server stops immediately and restarts once I’ve finished speaking. (as expected)
I want to replicate this behavior for text input: when sending a text message, I’d like the audio to stop immediately and then restart to respond to the text.
I’ve tried using response.cancel
, conversation.item.truncate
then conversation.item.create
with input_text and response.create
but the audio continues playing until the end of the transcript.
Has anyone successfully implemented this functionality?
Thanks!