Skip to content

Commit 3051d9d

Browse files
committed
online
1 parent ba8f688 commit 3051d9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/machine-learning/how-to-deploy-mlflow-models-online-endpoints.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ Once your deployment completes, your deployment is ready to serve request. One o
279279

280280
:::code language="json" source="~/azureml-examples-main/cli/endpoints/online/mlflow/sample-request-sklearn.json":::
281281

282+
> [!NOTE]
283+
> Notice how the key `input_data` has been used in this example instead of `inputs` as used in MLflow serving. This is because Azure Machine Learning requires a different input format to be able to automatically generate the swagger contracts for the endpoints. See [Considerations when deploying to real time inference](how-to-deploy-mlflow-models.md#considerations-when-deploying-to-real-time-inference) for details about expected input format.
284+
282285
To submit a request to the endpoint, you can do as follows:
283286

284287
# [Azure CLI](#tab/cli)
@@ -508,6 +511,9 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
508511
}
509512
```
510513

514+
> [!NOTE]
515+
> Notice how the key `dataframe_split` has been used in this example instead of `input_data`. This is because we are using an MLflow method `infer_and_parse_json_input` which uses the keys expected by MLflow serving (see [MLflow built-in deployment tools](https://www.mlflow.org/docs/latest/models.html#deploy-mlflow-models) for more input examples and formats). If you change the login in the scoring script, then the payload may be affected.
516+
511517
To submit a request to the endpoint, you can do as follows:
512518

513519
# [Azure CLI](#tab/cli)

0 commit comments

Comments
 (0)