Playing with the OpenAI Realtime API + Twilio

  Рет қаралды 1,183

TwilioDevs

TwilioDevs

Күн бұрын

Пікірлер: 8
@suyashsaxena7320
@suyashsaxena7320 Ай бұрын
Can we implement a caching layer here as the openai realtime api is too costly to use and I do not want to spend that much on a set of responses. Also I tested the realtime switching between English and Hindi and it worked flawlessly. I am open to any ideas.
@TwilioDevs
@TwilioDevs Ай бұрын
I asked around internally: "Caching on the Realtime API is hard if not impossible but also realistically OpenAI has their own caching built in already which is reducing the effective cost already. I don't know if you can do things on top of that." You may want to look at Twilio's ConversationRelay which should provide a bit more flexibility since you control the LLM side of it. www.twilio.com/en-us/blog/conversationrelay-voice-ai-made-human While we don't have a video for it yet, we do have a reference implementation using AWS: www.twilio.com/en-us/blog/conversation-relay-aws-reference-architecture
@suyashsaxena7320
@suyashsaxena7320 Ай бұрын
@ Thankyou for your help! I'll look into it and share my implementation if I figure it out
@Markmoody-dd6rz
@Markmoody-dd6rz 2 ай бұрын
so how can i get this interrupt code?
@TwilioDevs
@TwilioDevs Ай бұрын
It's in the repo: github.com/twilio-samples/speech-assistant-openai-realtime-api-node
@grzegorzgrodzki3855
@grzegorzgrodzki3855 2 ай бұрын
Hi! Great video. I have a problem with setting a language other than English. transcription does not work as it should. Sometimes it changes the language to another and shows different words. How can I fix this?
@TwilioDevs
@TwilioDevs 2 ай бұрын
Have you tried being very clear in the system prompt that it should always use the language you're trying to work with? I tried giving a prompt to only speak in Spanish and that the caller would always be Spanish and when I tried to insist to the assistant that I only spoke English, it wouldn't break out of Spanish.
@Rohan-o9w
@Rohan-o9w 2 ай бұрын
Can you make a Video on Using Twilio with Azure OpenAI Realtime API?
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 118 М.
INSANE OpenAI Realtime API Alternative For Voice AI Agents
13:23
Ahmed Mukhtar | AI Automations
Рет қаралды 2,2 М.
AB Testing Episode 32 - We're back!
1:45:15
TwilioDevs
Рет қаралды 42
OpenAI Realtime API: The future of Voice AI?
16:53
Jannis Moore | AI Automation
Рет қаралды 10 М.
Game of the Year 2024 - Part 3 - Best Story/Writing
37:06
Cool Bandana Guys
Рет қаралды 8
Master Local AI with DeepSeek-R1 In 10 Minutes
9:23
Jacob Geiger
Рет қаралды 41 М.
Why DeepSeek May Not Be All Bad News for Nvidia, Big Tech Shares
7:10
Bloomberg Television
Рет қаралды 36 М.
Is OpenAI's Realtime API REALLY Worth the Hype?
8:14
Debug with Lewis
Рет қаралды 7 М.
AB Testing Episode 36 with Vinnie Giarrusso
1:45:52
TwilioDevs
Рет қаралды 91