Route Your Audio Requests Between OpenAI & Azure OpenAI
We're thrilled to announce full interoperability of Audio routes between OpenAI and Azure OpenAI APIs.
This update brings the comprehensive suite of Portkey Gateway & Observability features to all your Text-to-Speech, Speech-to-Text, and Translation requests across both OpenAI and Azure OpenAI routes.
What This Means for You:
✅ Enhanced Reliability: Automatically route Audio requests to Azure when OpenAI API experiences issues.
✅ Improved Scalability: Tackle rate limiting by load balancing requests across multiple instances.
✅ Global Compliance: Direct requests to specific Azure regions to meet data residency requirements.
...and that's just the beginning!
Let's see an example:
Creating the fallback config
Let's create a fallback config that calls OpenAI in case there's failure from Azure OpenAI API
Making a request
Explore docs here: