mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
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>
This commit is contained in:
parent
bd9b5dc2f3
commit
f5117e907d
@ -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…
Reference in New Issue
Block a user