Skip to content

add suppot for azure oai realtime? #20

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

Open
rdvo opened this issue Oct 3, 2024 · 6 comments
Open

add suppot for azure oai realtime? #20

rdvo opened this issue Oct 3, 2024 · 6 comments

Comments

@rdvo
Copy link

rdvo commented Oct 3, 2024

possible?

@oalexdoda
Copy link

Would love an example on this as well.

Closest resource I found is this: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/audio-real-time?pivots=programming-language-javascript - not sure if it's there's any example for this repo

@alielbekov
Copy link

Would love an example on this as well.

Closest resource I found is this: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/audio-real-time?pivots=programming-language-javascript - not sure if it's there's any example for this repo

This should work.
or you can just change the web socket url with your Azure Realtime URL:

file: src/lib/realtime-api-beta/lib/api.js

const ws = new WebSocket('wss://<YOUR AZURE DEPLOYMENT URL>.openai.azure.com/openai/realtime?api-version=2024-10-01-preview&deployment=gpt-4o-realtime-preview&api-key=<YOUR AZURE API-KEY>' );

this helps you how to setup your URL:

AZURE repo readme

@themass
Copy link

themass commented Oct 17, 2024

i want to run this demo with azure url and key.

@mynumu
Copy link

mynumu commented Oct 26, 2024

Anyone get this working with azure?

@vikramhn
Copy link

vikramhn commented Oct 31, 2024

maybe this will be resolved once they accept this pull request - openai/openai-realtime-api-beta#60

@erick-santillan
Copy link

For anybody having the same issue there have been some news concerning this. First of all, the current main branch of this repository is using WebRTC as the standard to communicate with the Realtime API. According to this Azure does NOT support WebRTC. Which means you will have to use the old websockets version that can be found here and modify it as mentioned before.

Hope this saves some time to someone looking for answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants