Skip to content

Commit 0a85aed

Browse files
committed
minor fixes
1 parent cef38c9 commit 0a85aed

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

articles/ai-foundry/includes/find-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Copy the **Azure AI Foundry project endpoint** in the **Overview** section of yo
1414
:::image type="content" source="../media/how-to/projects/fdp-project-overview.png" alt-text="Screenshot shows the project overview for a Foundry project.":::
1515

1616
> [!TIP]
17-
> If you don't see the **Azure AI Foundry project endpoint**, you're using a [!INCLUDE [hub-project-name](hub-project-name.md)]. (See [Types of projects](../what-is-azure-ai-foundry.md#project-types)). Make sure you follow the steps in the preceding section to create a [!INCLUDE [fdp-project-name](fdp-project-name.md)] instead.
17+
> If you don't see the **Azure AI Foundry project endpoint**, you're using a [!INCLUDE [hub-project-name](hub-project-name.md)]. (See [Types of projects](../what-is-azure-ai-foundry.md#project-types)). Switch to a [!INCLUDE [fdp-project-name](fdp-project-name.md)], or use the preceding steps to create one.

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

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,21 @@ No installation is necessary to use the Azure AI Foundry portal.
6363
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
6464
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your Python scripts.
6565
66-
> [!TIP]
66+
> [!NOTE]
6767
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/python/mslearn-resources/quickstart).
6868
6969
# [Java (preview)](#tab/java)
7070
7171
1. [Install Java and Azure CLI](../how-to/develop/install-cli-sdk.md?pivots=programming-language-java).
72+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
7273
1. Set these environment variables to use in your scripts:
7374
7475
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/.env.template":::
7576
7677
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your Java scripts.
7778
1. Download [POM.XML](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/java/mslearn-resources/quickstart/pom.xml) to your Java IDE.
7879
79-
> [!TIP]
80+
> [!NOTE]
8081
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/java/mslearn-resources/quickstart).
8182
8283
# [JavaScript (preview)](#tab/javascript)
@@ -85,12 +86,13 @@ No installation is necessary to use the Azure AI Foundry portal.
8586
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your JavaScript scripts.
8687
1. Download [package.json](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/javascript/mslearn-resources/quickstart/package.json).
8788
1. Install packages with `npm install`
89+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
8890
1. Set these environment variables to use in your scripts:
8991
9092
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/.env.template":::
9193
9294
93-
> [!TIP]
95+
> [!NOTE]
9496
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/javascript/mslearn-resources/quickstart).
9597
9698
# [C#](#tab/csharp)
@@ -100,13 +102,15 @@ No installation is necessary to use the Azure AI Foundry portal.
100102
101103
[!INCLUDE [install-csharp-packages](install-csharp-packages.md)]
102104
105+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
106+
103107
1. Set these environment variables to use in your scripts:
104108
105109
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example":::
106110
107111
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.
108112
109-
> [!TIP]
113+
> [!NOTE]
110114
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/csharp/mslearn-resources/quickstart).
111115
112116
# [REST API](#tab/rest)
@@ -121,7 +125,7 @@ No installation is necessary to use the Azure AI Foundry portal.
121125
122126
1. Save the results as the environment variable `AZURE_AI_AUTH_TOKEN`.
123127
124-
> [!TIP]
128+
> [!NOTE]
125129
> 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).
126130
127131
@@ -141,6 +145,8 @@ After the preceding steps, you're now in the agents playground.
141145
142146
# [Python](#tab/python)
143147
148+
Substitute your endpoint for the `endpoint` in this code:
149+
144150
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="create_and_run_agent":::
145151
146152
# [Java (preview)](#tab/java)
@@ -184,6 +190,8 @@ Now let's add a file search tool that enables us to do knowledge retrieval.
184190
185191
# [Python](#tab/python)
186192
193+
Substitute your endpoint for the `endpoint` in this code:
194+
187195
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="create_filesearch_agent":::
188196
189197
# [Java (preview)](#tab/java)
@@ -220,7 +228,7 @@ Chat completions are the basic building block of AI applications. Using chat com
220228
221229
# [Python](#tab/python)
222230
223-
Substitute your value for the endpoint in this code:
231+
Substitute your endpoint for the `endpoint` in this code:
224232
225233
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
226234

0 commit comments

Comments
 (0)