openai[patch]: Proper example for AzureOpenAI usage in error message (#17798)

# Proper example for AzureOpenAI usage in error message

The original error message is wrong in part of a usage example it gives.
Corrected to the right one.

Co-authored-by: Dzmitry Kankalovich <dzmitry_kankalovich@epam.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
pull/17661/head
Dmitry Kankalovich 7 months ago committed by GitHub
parent bd9b5dc2f3
commit f5117e907d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -164,7 +164,7 @@ class AzureChatOpenAI(ChatOpenAI):
"`azure_endpoint` instead of `base_url`.\n\n"
"For example, you could specify:\n\n"
'azure_endpoint="https://xxx.openai.azure.com/", '
'deployment_name="my-deployment"\n\n'
'azure_deployment="my-deployment"\n\n'
"Or you can equivalently specify:\n\n"
'base_url="https://xxx.openai.azure.com/openai/deployments/my-deployment"' # noqa: E501
)

Loading…
Cancel
Save