Live data from Hacker News

Show HN: Open source framework OpenAI uses for Advanced Voice

github.com

51–60 of 63 posts

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#51

Imagine being able to tell an app to call the IRS during the day, endure the on-hold wait times, then ask the question to the IRS rep and log the answer. Then deliver the answer when you get home. Or, have the app call a pharmacy every month to refill prescriptions. For some drugs, the pharmacy requires a manual phone call to refill which gets very annoying. So many use cases for this.

They'll just put up "captchas" or whatever.

The point if phone lines is to waste the client's time. Not to have the client waste their time.

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#52
post #9

Nice they have many partners on this. I see Azure as well. There is a common consensus that the new Realtime API is not actually using the same Advanced Voice model / engine - or however it works - since at least the TTS part doesn’t seem to be as capable as the one shipped with the official OpenAI app. Any idea on this? Source: https://github.com/openai/openai-realtime-api-beta/issues/2

It's using the same model/engine. I don't have knowledge of the internals, but a different subsystem/set of dedicated resources though for API traffic versus first-party apps. One thing to note is there is no separate TTS-phase here, it's happening internally within GPT-4o, in the Realtime API and Advanced Voice.

Thanks

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#53
post #17

That’s some crazy marketing for a „our library happened to support this relatively simple use case“ situation. Impressive! By the way: The cerebras voice demo also uses LiveKit for this: https://cerebras.vercel.app/

There’s a ton of complexity under the “relatively simple use case” when you get to a global, 200M+ user scale.

80% of the times I’m experiencing choppy audio on my iPhone 15 Pro Max (18.1b) on Voice Mode (Standard and Advanced). My internet connection is FTTH and WiFi 7 state of the art router.

I wonder if this is because bugs or the crazy load livekit may be going through given the popularity in ChatGPT voice modes right now.

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#54
post #7
post #5

Super cool! Didn't realize OpenAI is just using LiveKit. Does the pricing breakdown to be the same as having a OpenAI Advanced Voice socket open the whole time? It's like $9/hr! It would be theoretically cheaper to use this without keeping the advanced voice socket open the whole time and just use the GPT4o streaming service [1] for whenever inference is needed (pay per token) and use livekits other components to do…

Currently it does: all audio is sent to the model. However, we are working on turn detection within the framework, so you won't have to send silence to the model when the user isn't talking. It's a fairly straight forward path to cutting down the cost by ~50%.

Can I currently put a VAD module in the pipeline and only send audio when there is an active conversation? Feel like just that would solve the problem?

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#56
post #17

Earlier quoted context omitted.

There’s a ton of complexity under the “relatively simple use case” when you get to a global, 200M+ user scale.

80% of the times I’m experiencing choppy audio on my iPhone 15 Pro Max (18.1b) on Voice Mode (Standard and Advanced). My internet connection is FTTH and WiFi 7 state of the art router. I wonder if this is because bugs or the crazy load livekit may be going through given the popularity in ChatGPT voice modes right now.

Doesn’t sound right. I’d love to dig into this some more. Would you mind shooting me a DM on X? @dsa

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#57
post #45

Earlier quoted context omitted.

Which components feel ad hoc? In most real applications, the agent has additional logic (function calling, RAG, etc) than simply relaying a stream to the model server. In those cases, you want it to be a separate service/component that can be independently scaled.

Essentially I think the Livekit value is a SFU that works, with signalling, and the SDKs exist. My experience is people radically overstate how hard signalling is, and underestimate SFU complexity, especially with fast failover. In terms of being a higher level API arguably it is doomed to failure, thanks to the madness of the domain. (The part that sticks in my mind is audio device switching on Android.) WebRTC prod…

You really don’t need to know about WebRTC at all when you use LiveKit. That’s largely thanks to the SDKs abstracting away all the complexity. Having good SDKs that work across every platform with consistent APIs is more valuable than the SFU imo. There are other options for SFUs and folks like Signal have rolled their own. Try to get WebRTC running on Apple Vision Pro or tvOS and let me know if that’s no big deal.

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#58
post #57

Earlier quoted context omitted.

Essentially I think the Livekit value is a SFU that works, with signalling, and the SDKs exist. My experience is people radically overstate how hard signalling is, and underestimate SFU complexity, especially with fast failover. In terms of being a higher level API arguably it is doomed to failure, thanks to the madness of the domain. (The part that sticks in my mind is audio device switching on Android.) WebRTC prod…

You really don’t need to know about WebRTC at all when you use LiveKit. That’s largely thanks to the SDKs abstracting away all the complexity. Having good SDKs that work across every platform with consistent APIs is more valuable than the SFU imo. There are other options for SFUs and folks like Signal have rolled their own. Try to get WebRTC running on Apple Vision Pro or tvOS and let me know if that’s no big deal.

> Try to get WebRTC running on Apple Vision Pro or tvOS and let me know if that’s no big deal.

[EDIT: I probably shouldn't mention that]. I have some experience of getting webrtc up on new platforms, and it's not as bad as all that. libwebrtc is a remarkably solid library, especially given the domain it's in.

I obviously do not share your opinion of the SDKs.

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#59
post #57

Earlier quoted context omitted.

You really don’t need to know about WebRTC at all when you use LiveKit. That’s largely thanks to the SDKs abstracting away all the complexity. Having good SDKs that work across every platform with consistent APIs is more valuable than the SFU imo. There are other options for SFUs and folks like Signal have rolled their own. Try to get WebRTC running on Apple Vision Pro or tvOS and let me know if that’s no big deal.

> Try to get WebRTC running on Apple Vision Pro or tvOS and let me know if that’s no big deal. [EDIT: I probably shouldn't mention that]. I have some experience of getting webrtc up on new platforms, and it's not as bad as all that. libwebrtc is a remarkably solid library, especially given the domain it's in. I obviously do not share your opinion of the SDKs.

Heh, actually I'm pretty sure I've come across your X profile before. :) You're definitely in a small minority of folks with a deep(er) understanding of WebRTC.

Re: Show HN: Open source framework OpenAI uses for Advanced Voice

#60

Imagine being able to tell an app to call the IRS during the day, endure the on-hold wait times, then ask the question to the IRS rep and log the answer. Then deliver the answer when you get home. Or, have the app call a pharmacy every month to refill prescriptions. For some drugs, the pharmacy requires a manual phone call to refill which gets very annoying. So many use cases for this.

We do this exact thing at getvibrato.com. You can schedule calls like these, or even do more advanced automation with Zapier.
Post reply on HN