Skip to content

Commit 58edbb5

Browse files
Merge pull request #226919 from rmca14/codesnippets
Fix broken code snippets
2 parents 29ac00e + c680080 commit 58edbb5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ version = registered_model.version
251251
252252
__endpoint.yaml__
253253
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":::
255255
256256
# [Python (Azure ML SDK)](#tab/sdk)
257257
@@ -295,7 +295,7 @@ version = registered_model.version
295295
296296
# [Azure CLI](#tab/cli)
297297
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":::
299299
300300
# [Python (Azure ML SDK)](#tab/sdk)
301301
@@ -322,7 +322,7 @@ version = registered_model.version
322322
323323
__sklearn-deployment.yaml__
324324
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":::
326326
327327
# [Python (Azure ML SDK)](#tab/sdk)
328328
@@ -375,7 +375,7 @@ version = registered_model.version
375375
376376
# [Azure CLI](#tab/cli)
377377
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":::
379379
380380
# [Python (Azure ML SDK)](#tab/sdk)
381381
@@ -471,7 +471,7 @@ Once your deployment completes, your deployment is ready to serve request. One o
471471
472472
**sample-request-sklearn.json**
473473
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":::
475475
476476
> [!NOTE]
477477
> 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:
480480
481481
# [Azure CLI](#tab/cli)
482482
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":::
484484
485485
# [Python (Azure ML SDK)](#tab/sdk)
486486
@@ -719,7 +719,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
719719
720720
**sample-request-sklearn.json**
721721
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":::
723723
724724
To submit a request to the endpoint, you can do as follows:
725725
@@ -776,7 +776,7 @@ Once you're done with the endpoint, you can delete the associated resources:
776776
777777
# [Azure CLI](#tab/cli)
778778
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":::
780780
781781
# [Python (Azure ML SDK)](#tab/sdk)
782782

0 commit comments

Comments
 (0)