Skip to content

Commit 13e662f

Browse files
Merge pull request #5175 from sdgilley/sdg-patches
Help identify project types
2 parents 48d232c + 7fdb620 commit 13e662f

File tree

9 files changed

+64
-10
lines changed

9 files changed

+64
-10
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Include file
3+
description: Include file
4+
author: sgilley
5+
ms.author: sgilley
6+
ms.service: azure-ai-foundry
7+
ms.topic: include
8+
ms.date: 05/13/2025
9+
ms.custom: include file
10+
---
11+
12+
Copy the **Azure AI Foundry project endpoint** in the **Overview** section of your project. You'll use it in a moment.
13+
14+
:::image type="content" source="../media/how-to/projects/fdp-project-overview.png" alt-text="Screenshot shows the project overview for a Foundry project.":::
15+
16+
> [!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)). 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: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
4545

4646
You now have both a project and a model available for your agent.
4747

48-
### Set up your environment
48+
## Set up your environment
4949

5050
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
5151

@@ -60,22 +60,24 @@ No installation is necessary to use the Azure AI Foundry portal.
6060
pip install openai azure-ai-projects azure-identity
6161
```
6262
63+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
6364
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.
6465
65-
> [!TIP]
66+
> [!NOTE]
6667
> 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).
6768
6869
# [Java (preview)](#tab/java)
6970
7071
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)]
7173
1. Set these environment variables to use in your scripts:
7274
7375
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/.env.template":::
7476
7577
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.
7678
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.
7779
78-
> [!TIP]
80+
> [!NOTE]
7981
> 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).
8082
8183
# [JavaScript (preview)](#tab/javascript)
@@ -84,12 +86,13 @@ No installation is necessary to use the Azure AI Foundry portal.
8486
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.
8587
1. Download [package.json](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/javascript/mslearn-resources/quickstart/package.json).
8688
1. Install packages with `npm install`
89+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
8790
1. Set these environment variables to use in your scripts:
8891
8992
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/.env.template":::
9093
9194
92-
> [!TIP]
95+
> [!NOTE]
9396
> 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).
9497
9598
# [C#](#tab/csharp)
@@ -99,13 +102,15 @@ No installation is necessary to use the Azure AI Foundry portal.
99102
100103
[!INCLUDE [install-csharp-packages](install-csharp-packages.md)]
101104
105+
1. [!INCLUDE [find-endpoint](find-endpoint.md)]
106+
102107
1. Set these environment variables to use in your scripts:
103108
104109
:::code language="plaintext" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example":::
105110
106111
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.
107112
108-
> [!TIP]
113+
> [!NOTE]
109114
> 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).
110115
111116
# [REST API](#tab/rest)
@@ -120,7 +125,7 @@ No installation is necessary to use the Azure AI Foundry portal.
120125
121126
1. Save the results as the environment variable `AZURE_AI_AUTH_TOKEN`.
122127
123-
> [!TIP]
128+
> [!NOTE]
124129
> 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).
125130
126131
@@ -140,6 +145,8 @@ After the preceding steps, you're now in the agents playground.
140145
141146
# [Python](#tab/python)
142147
148+
Substitute your endpoint for the `endpoint` in this code:
149+
143150
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="create_and_run_agent":::
144151
145152
# [Java (preview)](#tab/java)
@@ -183,6 +190,8 @@ Now let's add a file search tool that enables us to do knowledge retrieval.
183190
184191
# [Python](#tab/python)
185192
193+
Substitute your endpoint for the `endpoint` in this code:
194+
186195
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="create_filesearch_agent":::
187196
188197
# [Java (preview)](#tab/java)
@@ -219,7 +228,7 @@ Chat completions are the basic building block of AI applications. Using chat com
219228
220229
# [Python](#tab/python)
221230
222-
Substitute your value for the endpoint in this code:
231+
Substitute your endpoint for the `endpoint` in this code:
223232
224233
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
225234

articles/ai-foundry/includes/uses-fdp-only.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ms.custom: include
1111
---
1212

1313
> [!NOTE]
14-
> You must use a **[!INCLUDE [fdp](fdp-project-name.md)]** for this feature. A **[!INCLUDE [hub](hub-project-name.md)]** isn't supported. For more information, see [Types of projects](../what-is-azure-ai-foundry.md#project-types).
14+
> You must use a **[!INCLUDE [fdp](fdp-project-name.md)]** for this feature. A **[!INCLUDE [hub](hub-project-name.md)]** isn't supported. See [How do I know which type of project I have?](../what-is-azure-ai-foundry.md#how-do-i-know) and [Create a Foundry project](../how-to/create-projects.md?pivots="fdp-project").

articles/ai-foundry/includes/uses-hub-only.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ms.custom: include
1111
---
1212

1313
> [!NOTE]
14-
> You must use a **[!INCLUDE [hub](hub-project-name.md)]** for this feature. A **[!INCLUDE [fdp](fdp-project-name.md)]** isn't supported. For more information, see [Types of projects](../what-is-azure-ai-foundry.md#project-types).
14+
> You must use a **[!INCLUDE [hub](hub-project-name.md)]** for this feature. A **[!INCLUDE [fdp](fdp-project-name.md)]** isn't supported. See [How do I know which type of project I have?](../what-is-azure-ai-foundry.md#how-do-i-know) and [Create a hub based project](../how-to/create-projects.md?pivots="hub-project").
92.8 KB
Loading
59.3 KB
Loading
198 KB
Loading
216 KB
Loading

articles/ai-foundry/what-is-azure-ai-foundry.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,34 @@ This table summarizes features available in the two project types:
6060
| Managed compute | ||
6161
| Required Azure dependencies | - | Azure Storage account, Azure Key Vault |
6262

63+
### <a name="how-do-i-know"></a> How do I know which type of project I have?
64+
65+
Here are some of the ways to identify your project type:
66+
67+
* From the **breadcrumb navigation** section
68+
69+
* A [!INCLUDE [fdp-project-name](includes/fdp-project-name.md)] displays **(AI Foundry)** on the second line
70+
* A [!INCLUDE [hub-project-name](includes/hub-project-name.md)] displays **(Hub)** on the second line
71+
72+
:::image type="content" source="media/how-to/projects/breadcrumb.png" alt-text="Screenshot shows both a Foundry and hub based project in the breadcrumb navigation.":::
73+
74+
* From the **All resources** page
75+
76+
* A [!INCLUDE [fdp-project-name](includes/fdp-project-name.md)] displays **(AI Foundry)** as the parent resource
77+
* A [!INCLUDE [hub-project-name](includes/hub-project-name.md)] displays **(Hub)** as the parent resource
78+
79+
:::image type="content" source="media/how-to/projects/all-resources.png" alt-text="Screenshot shows both a Foundry and hub based project in the All Resources page.":::
80+
81+
<!-- * From the **Overview** section of the project
82+
83+
* If it's a [!INCLUDE [fdp-project-name](includes/fdp-project-name.md)], you see an **Azure AI Foundry endpoint**
84+
85+
:::image type="content" source="media/how-to/projects/fdp-project-overview.png" alt-text="Screenshot shows a Foundry project overview page." lightbox="media/how-to/projects/fdp-project-overview.png":::
86+
87+
* If it's a [!INCLUDE [hub-project-name](includes/hub-project-name.md)], you see a **Project connection string**
88+
89+
:::image type="content" source="media/how-to/projects/hub-project-overview.png" alt-text="Screenshot shows a hub based project overview page." lightbox="media/how-to/projects/hub-project-overview.png"::: -->
90+
6391
## Navigate in the Azure AI Foundry portal
6492

6593
In the Azure AI Foundry portal, you can navigate among all your resources using the breadcrumbs at the top of the page. The breadcrumbs show recent resources, along with a link to all resources.
@@ -77,7 +105,7 @@ If you're an admin, or leading a development team, and need to manage the team's
77105

78106
The left pane of the Azure AI Foundry portal is your main navigation tool. Customize this area to show the parts of the portal you want to use.
79107

80-
Pin or unpin items into the left pane. When you pin an item, it appears in the left pane. When you unpin an item, it disappears from the left pane.
108+
Pin or unpin items into the left pane. When you unpin an item, it is hidden from the left pane but can be found again in the **...More** menu.
81109

82110
* Select **... More** at the bottom of the pane to see items to pin and unpin.
83111
* Customize each project separately. The left pane is not shared across projects.

0 commit comments

Comments
 (0)