diff --git a/libs/partners/openai/langchain_openai/chat_models/azure.py b/libs/partners/openai/langchain_openai/chat_models/azure.py index 066cda7eace4c..feddf806484d6 100644 --- a/libs/partners/openai/langchain_openai/chat_models/azure.py +++ b/libs/partners/openai/langchain_openai/chat_models/azure.py @@ -163,7 +163,7 @@ def validate_environment(cls, values: Dict) -> Dict: "If specifying `azure_deployment`/`deployment_name` then use " "`azure_endpoint` instead of `base_url`.\n\n" "For example, you could specify:\n\n" - 'azure_deployment="https://xxx.openai.azure.com/", ' + 'azure_endpoint="https://xxx.openai.azure.com/", ' 'deployment_name="my-deployment"\n\n' "Or you can equivalently specify:\n\n" 'base_url="https://xxx.openai.azure.com/openai/deployments/my-deployment"' # noqa: E501