Skip to content

Commit 6bd709f

Browse files
authored
Update reference-model-inference-embeddings.md
1 parent bcc0601 commit 6bd709f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ POST /embeddings?api-version=2024-04-01-preview
3030
| ------------- | ----- | -------- | ------ | -------------------------------------------------------------------------- |
3131
| `api-version` | query | True | string | The version of the API in the format "YYYY-MM-DD" or "YYYY-MM-DD-preview". |
3232

33+
## Request Header
34+
35+
36+
| Name | Required | Type | Description |
37+
| --- | --- | --- | --- |
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. |
39+
| azureml-model-deployment | | string | Name of the deployment you want to route the request to. Supported for endpoints that support multiple deployments. |
40+
3341
## Request Body
3442

3543
| Name | Required | Type | Description |

0 commit comments

Comments
 (0)