Skip to content

Commit 3590124

Browse files
committed
Update code and text
1 parent 00be434 commit 3590124

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ For testing our endpoint, we are going to use a sample of the dataset [BillSum:
296296
297297
```yml
298298
$schema: https://azuremlschemas.azureedge.net/latest/data.schema.json
299-
name: bill-summarization
299+
name: bill_summarization
300300
description: A sample of a dataset for summarization of US Congressional and California state bills.
301301
type: uri_file
302302
path: data/billsum-0.csv
@@ -311,7 +311,7 @@ For testing our endpoint, we are going to use a sample of the dataset [BillSum:
311311
1. Get the ID of the data asset.
312312
313313
```azurecli
314-
DATA_ASSET_ID=$(az ml data show -n bill-summarization --label latest | jq -r .id)
314+
DATA_ASSET_ID=$(az ml data show -n bill_summarization --label latest | jq -r .id)
315315
```
316316
317317
# [Python](#tab/python)
@@ -323,7 +323,7 @@ For testing our endpoint, we are going to use a sample of the dataset [BillSum:
323323
# [Azure CLI](#tab/cli)
324324
325325
```azurecli
326-
JOB_NAME=$(az ml batch-endpoint invoke --name $ENDPOINT_NAME --input $DATA_ASSET_ID --query name -o tsv)
326+
JOB_NAME=$(az ml batch-endpoint invoke --name $ENDPOINT_NAME --set inputs.bill_summarization.type="uri_file" inputs.bill_summarization.path=$DATASET_ID --query name -o tsv)
327327
```
328328

329329
# [Python](#tab/python)

0 commit comments

Comments
 (0)