All functionality related to Azure AI Foundry and its related projects.Integration packages for Azure AI, Dynamic Sessions, SQL Server are maintained in
the langchain-azure repository.
from langchain_azure_ai.chat_models import AzureAIChatCompletionsModelllm = AzureAIChatCompletionsModel( model_name="gpt-4o", api_version="2024-05-01-preview",)llm.invoke('Tell me a joke and include some emojis')