Skip to content

Commit 0b91ead

Browse files
committed
fix build issues
1 parent 16291ea commit 0b91ead

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-functions/functions-add-openai-text-completion.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Use these steps to grant access in your new Azure OpenAI resource to these ident
134134
--role "Cognitive Services OpenAI User" --scope $openaiId
135135
```
136136
137-
The [`az ad signed-in-user show`](/cli/azure/ad/signed-in-user?view=azure-cli-latest#az-ad-signed-in-user-show) command is used to obtain your Azure account ID. You reuse `$openaiId` from the previous step, which is the fully-qualified ID of the Azure OpenAI resource .
137+
The [`az ad signed-in-user show`](/cli/azure/ad/signed-in-user#az-ad-signed-in-user-show) command is used to obtain your Azure account ID. This code reuses `$openaiId` from the previous step, which is the fully-qualified ID of the Azure OpenAI resource .
138138
139139
---
140140
@@ -360,7 +360,7 @@ You can add these settings in one of these ways:
360360

361361
1. Repeat the previous step to add all of the required settings, and then select **Apply**.
362362

363-
### [Azure CLI](#azure-cli)
363+
### [Azure CLI](#tab/azure-cli)
364364

365365
The [`az functionapp config appsettings set`](/cli/azure/functionapp/config/appsettings#az-functionapp-config-appsettings-set) command adds or updates application settings in your function app.
366366

@@ -405,17 +405,17 @@ You can run the `whois` function in Azure directly from Visual Studio Code:
405405

406406
1. From the list, choose your function app in Azure. If you don't see your function app, make sure you're signed in to the correct subscription.
407407

408-
Send a GET request to the `whois` endpoint function, with a name in the path as before. This time, you must use the URL of your function app in Azure, which looks like this URL:
408+
1. Send a GET request to the `whois` endpoint function, with a name in the path as before. This time, you must use the URL of your function app in Azure, which looks like this URL:
409409

410-
`http://localhost:7071/api/whois/<NAME>`
410+
`http://<APP_NAME>.azurewebsites.net/api/whois/<NAME>`
411411

412-
Replace the `<NAME>` string with the value you want passed to the `"Who is {name}?"` prompt. The `<NAME>` must be the URL-encoded name of a public figure, like `Abraham%20Lincoln`.
412+
Replace `<APP_NAME>` with the name of your function app and `<NAME>` with the value you want passed to the `"Who is {name}?"` prompt. The `<NAME>` must be the URL-encoded name of a public figure, like `Abraham%20Lincoln`.
413413

414414
The response you see is the text completion response from your Azure OpenAI model.
415415

416416
## Clean up resources
417417

418-
In Azure, *resources* refer to function apps, functions, storage accounts, and so forth. They're grouped into *resource groups*, and you can delete everything in a group by deleting the group.
418+
In Azure, _resources_ refer to function apps, functions, storage accounts, and so forth. They're grouped into _resource groups_, and you can delete everything in a group by deleting the group.
419419

420420
You created resources to complete these quickstarts. You could be billed for these resources, depending on your [account status](https://azure.microsoft.com/account/) and [service pricing](https://azure.microsoft.com/pricing/). If you don't need the resources anymore, here's how to delete them:
421421

0 commit comments

Comments
 (0)