Phi, Llama, Mistral, Cohere and more.
Installation
Authentication
Navigate to Azure AI Foundry on the Azure Portal and create a service. Then set your environment variables:Example
UseAzureAIFoundry with your Agent:
Advanced Examples
View more examples here.Parameters
AzureAIFoundry is a subclass of the Model class and has access to the same params.
Supported Models
Azure AI Foundry provides access to a wide variety of models including:- Microsoft Models:
Phi-4,Phi-3.5-mini-instruct,Phi-3.5-vision-instruct - Meta Models:
Meta-Llama-3.1-405B-Instruct,Meta-Llama-3.1-70B-Instruct,Meta-Llama-3.1-8B-Instruct - Mistral Models:
Mistral-large,Mistral-small,Mistral-Nemo - Cohere Models:
Cohere-command-r-plus,Cohere-command-r