Skip to content

Commit c44a444

Browse files
committed
fix code languages
1 parent 0c25f26 commit c44a444

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

articles/ai-foundry/how-to/develop/install-cli-sdk.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ Install [Node.js](https://nodejs.org/)
5151

5252
::: zone-end
5353

54+
<a name="installs"></a>
5455

55-
## <a name="installs"></a> Install the Azure CLI and sign in
56+
## Install the Azure CLI and sign in
5657

5758
[!INCLUDE [Install the Azure CLI](../../includes/install-cli.md)]
5859

articles/ai-foundry/includes/get-started-fdp.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ No installation is necessary to use the Azure AI Foundry portal.
118118
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your C# scripts.
119119
1. Get a temporary access token. It will expire in 2 hours, you'll need to refresh after that.
120120
121-
```cli
121+
```azurecli
122122
az account get-access-token --scope https://ai.azure.com/.default
123123
```
124124
125125
1. Save the results as the environment variable `AZURE_AI_AUTH_TOKEN`.
126126
127127
> [!TIP]
128-
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/RE/mslearn-resources/quickstart).
128+
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/REST/mslearn-resources/quickstart).
129129
130130
131131
---
@@ -164,7 +164,7 @@ Substitute your value for the endpoint in this code:
164164
165165
# [REST API](#tab/rest)
166166
167-
:::code language="python" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
167+
:::code language="console" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
168168
169169
---
170170
@@ -200,7 +200,9 @@ Agents allow more powerful capabilities through the use of tools. First, let's w
200200
201201
# [REST API](#tab/rest)
202202
203-
:::code language="python" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="create_and_run_agent":::
203+
Replace `your-foundry-resource-name` with the AI Foundry resource name created with your project.
204+
205+
:::code language="console" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="create_and_run_agent":::
204206
205207
206208
---
@@ -242,7 +244,7 @@ Now let's add a file search tool that enables us to do knowledge retrieval.
242244
243245
# [REST API](#tab/rest)
244246
245-
:::code language="python" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="create_filesearch_agent":::
247+
:::code language="console" source="~/foundry-samples/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="create_filesearch_agent":::
246248
247249
---
248250

0 commit comments

Comments
 (0)