Microsoft
All functionality related to Microsoft Azure
and other Microsoft
products.
Chat Models
Azure OpenAI
Microsoft Azure, often referred to as
Azure
is a cloud computing platform run byMicrosoft
, which offers access, management, and development of applications and services through global data centers. It provides a range of capabilities, including software as a service (SaaS), platform as a service (PaaS), and infrastructure as a service (IaaS).Microsoft Azure
supports many programming languages, tools, and frameworks, including Microsoft-specific and third-party software and systems.
Azure OpenAI is an
Azure
service with powerful language models fromOpenAI
including theGPT-3
,Codex
andEmbeddings model
series for content generation, summarization, semantic search, and natural language to code translation.
pip install langchain-openai
Set the environment variables to get access to the Azure OpenAI
service.
import os
os.environ["AZURE_OPENAI_ENDPOINT"] = "https://<your-endpoint.openai.azure.com/"
os.environ["AZURE_OPENAI_API_KEY"] = "your AzureOpenAI key"
See a usage example
from langchain_openai import AzureChatOpenAI
Azure ML Chat Online Endpoint
See the documentation here for accessing chat models hosted with Azure Machine Learning.
LLMs
Azure ML
See a usage example.
from langchain_community.llms.azureml_endpoint import AzureMLOnlineEndpoint
Azure OpenAI
See a usage example.
from langchain_openai import AzureOpenAI