Skip to content

Commit 6b56b47

Browse files
Merge pull request #259572 from mrbullwinkle/mrb_11_27_2023_fix
[Azure OpenAI] fix
2 parents 44d6109 + 313a032 commit 6b56b47

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/ai-services/openai/how-to/switching-endpoints.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ client = AzureOpenAI(
111111

112112
## Keyword argument for model
113113

114-
OpenAI uses the `model` keyword argument to specify what model to use. Azure OpenAI has the concept of [deployments](create-resource.md?pivots=web-portal#deploy-a-model) and uses the `deployment_id` keyword argument to describe which model deployment to use. Azure OpenAI also supports the use of `engine` interchangeably with `deployment_id`. `deployment_id` corresponds to the custom name you chose for your model during model deployment. By convention in our docs, we often show `deployment_id`'s which match the underlying model name, but if you chose a different deployment name that doesn't match the model name you need to use that name when working with models in Azure OpenAI.
115-
116-
For OpenAI `engine` still works in most instances, but it's deprecated and `model` is preferred.
114+
OpenAI uses the `model` keyword argument to specify what model to use. Azure OpenAI has the concept of unique model [deployments](create-resource.md?pivots=web-portal#deploy-a-model). When using Azure OpenAI `model` should refer to the underling deployment name you chose when you deployed the model.
117115

118116
<table>
119117
<tr>

0 commit comments

Comments
 (0)