Skip to content

Commit c622e80

Browse files
committed
Make minor adjustments to language
1 parent 5c889d3 commit c622e80

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

articles/machine-learning/how-to-use-batch-model-openai-embeddings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ The conda YAML file, *conda.yml*, contains the following lines:
220220
221221
This example uses a scoring script that performs the execution. In batch endpoints, MLflow models don't require a scoring script. But this example extends the capabilities of batch endpoints by:
222222
223-
- Allowing the endpoint to read multiple data types, including `csv`, `tsv`, `parquet`, `json`, `jsonl`, `arrow`, and `txt` formats.
223+
- Allowing the endpoint to read multiple data types, including CSV, TSV, Parquet, JSON, JSON Lines, Arrow, and text formats.
224224
- Adding some validations to ensure the MLflow model has an OpenAI flavor.
225225
- Formatting the output in `jsonl` format.
226-
- Adding an environment variable `AZUREML_BI_TEXT_COLUMN` to optionally control which input field you want to generate embeddings for.
226+
- Adding the `AZUREML_BI_TEXT_COLUMN` environment variable to optionally control which input field you want to generate embeddings for.
227227
228228
> [!TIP]
229-
> By default, MLflow generates embeddings from the first text column that's available in the input data. If you want to use a different column, set the environment variable `AZUREML_BI_TEXT_COLUMN` to the name of your preferred column. Leave that variable blank if the default behavior works for you.
229+
> By default, MLflow generates embeddings from the first text column that's available in the input data. If you want to use a different column, set the `AZUREML_BI_TEXT_COLUMN` environment variable to the name of your preferred column. Leave that variable blank if the default behavior works for you.
230230
231231
The scoring script, *code/batch_driver.py*, contains the following lines:
232232
@@ -236,13 +236,13 @@ The scoring script, *code/batch_driver.py*, contains the following lines:
236236
237237
To configure the OpenAI deployment, you use environment variables. Specifically, you use the following keys:
238238
239+
- `OPENAI_API_TYPE` is the type of API and authentication that you want to use.
239240
- `OPENAI_API_BASE` is the URL of your Azure OpenAI resource.
240241
- `OPENAI_API_VERSION` is the version of the API that you plan to use.
241-
- `OPENAI_API_TYPE` is the type of API and authentication that you want to use.
242242
243243
# [Microsoft Entra authentication](#tab/ad)
244244
245-
If you use the environment variable `OPENAI_API_TYPE` with a value of `azure_ad`, OpenAI uses Microsoft Entra authentication. No key is required to invoke the OpenAI deployment. Instead, the identity of the cluster is used.
245+
If you use the `OPENAI_API_TYPE` environment variable with a value of `azure_ad`, OpenAI uses Microsoft Entra authentication. No key is required to invoke the OpenAI deployment. Instead, the identity of the cluster is used.
246246
247247
# [Access keys](#tab/keys)
248248

articles/machine-learning/includes/azureml-batch-clone-samples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
ms.service: azure-machine-learning
33
ms.topic: include
4-
ms.date: 04/02/2024
4+
ms.date: 11/20/2024
55
author: ccrestana
66
ms.author: cacrest
77
---

articles/machine-learning/includes/azureml-batch-prereqs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
ms.service: azure-machine-learning
33
ms.topic: include
4-
ms.date: 08/19/2024
4+
ms.date: 11/20/2024
55
author: ccrestana
66
ms.author: cacrest
77
---
88

99
- An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1010
- An Azure Machine Learning workspace. To create a workspace, see [Manage Azure Machine Learning workspaces](../how-to-manage-workspace.md).
1111
- The following permissions in the Azure Machine Learning workspace:
12-
- For creating or managing batch endpoints and deployments: Use an Owner, Contributor, or custom role that has been assigned the `Microsoft.MachineLearningServices/workspaces/batchEndpoints/*` actions.
13-
- For creating Azure Resource Manager deployments in the workspace resource group: Use an Owner, Contributor, or custom role that has been assigned the `Microsoft.Resources/deployments/write` action in the resource group where the workspace is deployed.
12+
- For creating or managing batch endpoints and deployments: Use an Owner, Contributor, or custom role that has been assigned the `Microsoft.MachineLearningServices/workspaces/batchEndpoints/*` permissions.
13+
- For creating Azure Resource Manager deployments in the workspace resource group: Use an Owner, Contributor, or custom role that has been assigned the `Microsoft.Resources/deployments/write` permission in the resource group where the workspace is deployed.
1414
- The Azure Machine Learning CLI or the Azure Machine Learning SDK for Python:
1515

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

0 commit comments

Comments
 (0)