This will help you get started with AzureAIChatCompletionsModel chat models. For detailed documentation of all AzureAIChatCompletionsModel features and configurations, head to the API reference The AzureAIChatCompletionsModel class uses the Azure AI Foundry SDK. AI Foundry has several chat models, including AzureOpenAI, Cohere, Llama, Phi-3/4, and DeepSeek-R1, among others. You can find information about their latest models and their costs, context windows, and supported input types in the Azure docs.Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-explai-1765467058-4ac1f26.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| AzureAIChatCompletionsModel | langchain-azure-ai | β | β | β |
Model features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| β | β | β | β | β | β | β | β | β | β |
Setup
To access AzureAIChatCompletionsModel models, youβll need to create an Azure account, get an API key, and install thelangchain-azure-ai integration package.
Credentials
Head to the Azure docs to see how to create your deployment and generate an API key. Once your model is deployed, you click the βget endpointβ button in AI Foundry. This will show you your endpoint and api key. Once youβve done this, set the AZURE_AI_CREDENTIAL and AZURE_AI_ENDPOINT environment variables:Installation
The LangChain AzureAIChatCompletionsModel integration lives in thelangchain-azure-ai package: