Azure OpenAI Integration
On this page (13sections)
Introduction
Spring AI supports Azure OpenAI, letting enterprises use OpenAI models hosted within their Azure environment. You configure the Azure endpoint, deployment name, and key, then call models through the familiar ChatClient. This combines OpenAI capabilities with Azure’s security, compliance, and networking.
Definition
Azure OpenAI integration provides access to OpenAI models through Azure’s managed service.
Types
Azure OpenAI Chat
Using GPT models through Azure
Azure OpenAI Embeddings
Creating embeddings via Azure
Azure OpenAI Completions
Text completion through Azure
Azure OpenAI Images
Image generation via Azure
Use Cases
- Enterprise AI applications
- Azure-based AI solutions
- Compliance and security requirements
- Managed AI services
- Integration with Azure ecosystem
Implementation
Azure OpenAI integration uses Azure’s authentication and configuration patterns.
In Practice
Azure OpenAI integration uses your Azure resource endpoint and deployment names rather than the public OpenAI API, which keeps traffic within your Azure tenant. This appeals to organizations with data residency and compliance requirements, while the Spring AI API stays the same.
Key Points
- Enterprise-grade security
- Azure integration benefits
- Managed service advantages
- Compliance features
References
- Spring AI Azure OpenAI — Spring AI Azure OpenAI integration guide