-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Realtime: Twilio example #1216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realtime: Twilio example #1216
Conversation
need to resolve mypy warnings and python 3.9 runtime errors but overall i don't have anything to mention so far |
@rm-openai Deeply appreciate your taking the time to figure this out. |
@rm-openai When you have a moment, will you explain what is so different about this it needed all this extra work to get the "audio_interrupted" event? I'm also setting up my own in-app voice which will need interruption. Does this mean I'll need to send and handle "mark" events similar to this or will it work more like your demos? Thanks! |
Would love to get this merged and a new version pushed so I can put it out on production. Thanks! |
So far, we've been assuming that audio is played: - immediately (i.e. with 0 delay/latency) - at realtime This causes issues with our interrupt tracking. The model wants to know how much audio the user has actually heard. For example in a phone call agent, this wouldn't work (bc theres a delay of a few hundred ms between model sending audio and the user hearing it). This PR allows you to pass a playback tracker. --- [//]: # (BEGIN SAPLING FOOTER) * #1252 * #1216 * #1243 * __->__ #1242
Uh oh!
There was an error while loading. Please reload this page.