Overview of Azure AI Inference client library capabilities
mainThe Azure AI Inference client library (currently in preview, version 1.0.0b9) allows developers to interact with various AI models through a unified interface.
Core capabilities:
- Authenticate against supported AI services.
- Retrieve metadata and information about AI models.
- Perform chat completions.
- Generate text embeddings.
- Generate image embeddings.
Supported services:
- GitHub Models: Free-tier endpoint for various AI models.
- Serverless API and Managed Compute endpoints: Models deployed via Azure AI Foundry.
- Azure OpenAI Service: OpenAI models deployed via Azure AI Foundry. While the official
openailibrary is recommended for production, this library allows for easy performance comparison between OpenAI and other models using consistent code.