Skip to content

Commit 7b85445

Browse files
authored
Update reference-model-inference-completions.md
1 parent d88a38a commit 7b85445

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ POST /completions?api-version=2024-04-01-preview
2828
| --- | --- | --- | --- | --- |
2929
| api-version | query | True | string | The version of the API in the format "YYYY-MM-DD" or "YYYY-MM-DD-preview". |
3030

31+
## Request Header
32+
33+
34+
| Name | Required | Type | Description |
35+
| --- | --- | --- | --- |
36+
| extra-parameters | | string | The behavior of the API when extra parameters are indicated in the payload. Using `pass-through` 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 `ignore` 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. |
37+
| azureml-model-deployment | | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
38+
3139

3240
## Request Body
3341

@@ -285,4 +293,4 @@ The object type, which is always "list".
285293
| detail | [Detail](#detail) | |
286294
| error | string | The error description. |
287295
| message | string | The error message. |
288-
| status | integer | The HTTP status code. |
296+
| status | integer | The HTTP status code. |

0 commit comments

Comments
 (0)