Skip to content

Commit a4e908b

Browse files
committed
Fixed broken links
1 parent 4a4fdd0 commit a4e908b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/redis/machine-learning.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ For more information on entry script, see [Define scoring code.](/azure/machine-
125125
These entities are encapsulated into an **inference configuration**. The inference configuration references the entry script and other dependencies.
126126

127127
> [!IMPORTANT]
128-
> When creating an inference configuration for use with Azure Functions, you must use an [Environment](/python/api/azureml-core/azureml.core.environment%28class%29) object. Please note that if you are defining a custom environment, you must add azureml-defaults with version >= 1.0.45 as a pip dependency. This package contains the functionality needed to host the model as a web service. The following example demonstrates creating an environment object and using it with an inference configuration:
128+
> When creating an inference configuration for use with Azure Functions, you must use an `Environment` object. Please note that if you are defining a custom environment, you must add azureml-defaults with version >= 1.0.45 as a pip dependency. This package contains the functionality needed to host the model as a web service. The following example demonstrates creating an environment object and using it with an inference configuration:
129129
>
130130
> ```python
131131
> from azureml.core.environment import Environment
@@ -158,7 +158,7 @@ pip install azureml-contrib-functions
158158
159159
## Create the image
160160
161-
To create the Docker image that is deployed to Azure Functions, use [azureml.contrib.functions.package](/python/api/azureml-contrib-functions/azureml.contrib.functions) or the specific package function for the trigger you want to use. The following code snippet demonstrates how to create a new package with an HTTP trigger from the model and inference configuration:
161+
To create the Docker image that is deployed to Azure Functions, use `azureml.contrib.functions.package` or the specific package function for the trigger you want to use. The following code snippet demonstrates how to create a new package with an HTTP trigger from the model and inference configuration:
162162
163163
> [!NOTE]
164164
> The code snippet assumes that `model` contains a registered model, and that `inference_config` contains the configuration for the inference environment. For more information, see [Deploy models with Azure Machine Learning](/azure/machine-learning/how-to-deploy-managed-online-endpoints).
@@ -315,5 +315,4 @@ After a few moments, the resource group and all of its resources are deleted.
315315
316316
* Learn more about [Azure Cache for Redis](overview.md)
317317
* Learn to configure your function app in the [Functions](../azure-functions/functions-create-function-linux-custom-image.md) documentation.
318-
* [API Reference](/python/api/azureml-contrib-functions/azureml.contrib.functions)
319318
* Create a [Python app that uses Azure Cache for Redis](python-get-started.md)

0 commit comments

Comments
 (0)