@@ -251,7 +251,7 @@ version = registered_model.version
251
251
252
252
__endpoint.yaml__
253
253
254
- <!-- :::code language="yaml" source="~/azureml-examples-main/cli/endpoints/online/mlflow /create-endpoint.yaml"::: -->
254
+ :::code language="yaml" source="~/azureml-examples-main/cli/endpoints/online/ncd /create-endpoint.yaml":::
255
255
256
256
# [Python (Azure ML SDK)](#tab/sdk)
257
257
@@ -295,7 +295,7 @@ version = registered_model.version
295
295
296
296
# [Azure CLI](#tab/cli)
297
297
298
- <!-- :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-mlflow .sh" ID="create_endpoint"::: -->
298
+ :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-ncd .sh" ID="create_endpoint":::
299
299
300
300
# [Python (Azure ML SDK)](#tab/sdk)
301
301
@@ -322,7 +322,7 @@ version = registered_model.version
322
322
323
323
__sklearn-deployment.yaml__
324
324
325
- <!-- :::code language="yaml" source="~/azureml-examples-main/cli/endpoints/online/mlflow /sklearn-deployment.yaml"::: -->
325
+ :::code language="yaml" source="~/azureml-examples-main/cli/endpoints/online/ncd /sklearn-deployment.yaml":::
326
326
327
327
# [Python (Azure ML SDK)](#tab/sdk)
328
328
@@ -375,7 +375,7 @@ version = registered_model.version
375
375
376
376
# [Azure CLI](#tab/cli)
377
377
378
- <!-- :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-mlflow .sh" ID="create_sklearn_deployment"::: -->
378
+ :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-ncd .sh" ID="create_sklearn_deployment":::
379
379
380
380
# [Python (Azure ML SDK)](#tab/sdk)
381
381
@@ -471,7 +471,7 @@ Once your deployment completes, your deployment is ready to serve request. One o
471
471
472
472
**sample-request-sklearn.json**
473
473
474
- <!-- :::code language="json" source="~/azureml-examples-main/cli/endpoints/online/mlflow /sample-request-sklearn.json"::: -->
474
+ :::code language="json" source="~/azureml-examples-main/cli/endpoints/online/ncd /sample-request-sklearn.json":::
475
475
476
476
> [!NOTE]
477
477
> 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 [Differences between models deployed in Azure Machine Learning and MLflow built-in server](how-to-deploy-mlflow-models.md#differences-between-models-deployed-in-azure-machine-learning-and-mlflow-built-in-server) for details about expected input format.
@@ -480,7 +480,7 @@ To submit a request to the endpoint, you can do as follows:
480
480
481
481
# [Azure CLI](#tab/cli)
482
482
483
- <!-- :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-mlflow .sh" ID="test_sklearn_deployment"::: -->
483
+ :::code language="azurecli" source="~/azureml-examples-main/cli/deploy-managed-online-endpoint-ncd .sh" ID="test_sklearn_deployment":::
484
484
485
485
# [Python (Azure ML SDK)](#tab/sdk)
486
486
@@ -719,7 +719,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
719
719
720
720
**sample-request-sklearn.json**
721
721
722
- <!-- :::code language="json" source="~/azureml-examples-main/cli/endpoints/online/mlflow /sample-request-sklearn.json"::: -->
722
+ :::code language="json" source="~/azureml-examples-main/cli/endpoints/online/ncd /sample-request-sklearn.json":::
723
723
724
724
To submit a request to the endpoint, you can do as follows:
725
725
@@ -776,7 +776,7 @@ Once you're done with the endpoint, you can delete the associated resources:
776
776
777
777
# [Azure CLI](#tab/cli)
778
778
779
- < ! -- :::code language=" azurecli" source=" ~/azureml-examples-main/cli/deploy-managed-online-endpoint-mlflow .sh" ID=" delete_endpoint" ::: -- >
779
+ :::code language=" azurecli" source=" ~/azureml-examples-main/cli/deploy-managed-online-endpoint-ncd .sh" ID=" delete_endpoint" :::
780
780
781
781
# [Python (Azure ML SDK)](#tab/sdk)
782
782
0 commit comments