Skip to content

Commit a0bc5c2

Browse files
authored
Apply suggestions from code review
Fix typos and grammar.
1 parent 4674a36 commit a0bc5c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

articles/ai-studio/reference/reference-model-inference-chat-completions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ POST /chat/completions?api-version=2024-04-01-preview
3535

3636
| Name | Required | Type | Description |
3737
| --- | --- | --- | --- |
38-
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified int this API can be indicated, or a 400 error is returned. |
38+
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified in this API can be indicated, or a 400 error is returned. |
3939
| azureml-model-deployment | | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
4040

4141
## Request Body
@@ -181,7 +181,7 @@ Status code: 200
181181
| [ImageDetail](#imagedetail) | Specifies the detail level of the image. |
182182
| [NotFoundError](#notfounderror) | The route is not valid for the deployed model. |
183183
| [ToolType](#tooltype) | The type of the tool. Currently, only `function` is supported. |
184-
| [TooManyRequestsError](#toomanyrequestserror) | You have hit your assigned rate limit and your request need to be paced. |
184+
| [TooManyRequestsError](#toomanyrequestserror) | You have hit your assigned rate limit and your requests need to be paced. |
185185
| [UnauthorizedError](#unauthorizederror) | Authentication is missing or invalid. |
186186
| [UnprocessableContentError](#unprocessablecontenterror) | The request contains unprocessable content. The error is returned when the payload indicated is valid according to this specification. However, some of the instructions indicated in the payload are not supported by the underlying model. Use the `details` section to understand the offending parameter. |
187187

articles/ai-studio/reference/reference-model-inference-embeddings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ POST /embeddings?api-version=2024-04-01-preview
3535

3636
| Name | Required | Type | Description |
3737
| --- | --- | --- | --- |
38-
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified int this API can be indicated, or a 400 error is returned. |
38+
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified in this API can be indicated, or a 400 error is returned. |
3939
| azureml-model-deployment | | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
4040

4141
## Request Body
@@ -143,7 +143,7 @@ Status code: 200
143143
| [EmbeddingObject](#embeddingobject) | The object type, which is always "embedding". |
144144
| [ListObject](#listobject) | The object type, which is always "list". |
145145
| [NotFoundError](#notfounderror) | The route is not valid for the deployed model. |
146-
| [TooManyRequestsError](#toomanyrequestserror) | You have hit your assigned rate limit and your request need to be paced. |
146+
| [TooManyRequestsError](#toomanyrequestserror) | You have hit your assigned rate limit and your requests need to be paced. |
147147
| [UnauthorizedError](#unauthorizederror) | Authentication is missing or invalid. |
148148
| [UnprocessableContentError](#unprocessablecontenterror) | The request contains unprocessable content. The error is returned when the payload indicated is valid according to this specification. However, some of the instructions indicated in the payload are not supported by the underlying model. Use the `details` section to understand the offending parameter. |
149149
| [Usage](#usage) | The usage information for the request. |

articles/ai-studio/reference/reference-model-inference-images-embeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ POST /images/embeddings?api-version=2024-04-01-preview
3535

3636
| Name | Required | Type | Description |
3737
| --- | --- | --- | --- |
38-
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified int this API can be indicated, or a 400 error is returned. |
38+
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `allow` makes the API to pass the parameter to the underlying model. Use this value when you want to pass parameters that you know the underlying model can support. Using `drop` makes the API to drop any unsupported parameter. Use this value when you need to use the same payload across different models, but one of the extra parameters may make a model to error out if not supported. Using `error` makes the API to reject any extra parameter in the payload. Only parameters specified in this API can be indicated, or a 400 error is returned. |
3939
| azureml-model-deployment | | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
4040

4141
## Request Body

0 commit comments

Comments
 (0)