Skip to content

Commit 3d719c1

Browse files
Merge pull request #5682 from sdgilley/sdg-patches
freshness update - articles/ai-foundry/how-to/develop/create-hub-project-sdk.md
2 parents 83e3f58 + 8d76475 commit 3d719c1

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

articles/ai-foundry/how-to/develop/create-hub-project-sdk.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: scottpolly
66
ms.service: azure-ai-foundry
77
ms.custom: build-2024, devx-track-azurecli
88
ms.topic: how-to
9-
ms.date: 02/13/2025
9+
ms.date: 06/24/2025
1010
ms.reviewer: dantaylo
1111
ms.author: sgilley
1212
author: sdgilley
@@ -79,9 +79,9 @@ az ml workspace create --kind hub --resource-group {my_resource_group} --name {m
7979

8080
---
8181

82-
## Create an AI Services connection
82+
## Create an AI Foundry connection
8383

84-
After creating your own AI Services, you can connect it to your hub.
84+
After creating your own [AI Foundry resource](../../../ai-services/multi-service-resource.md?context=%2Fazure%2Fai-foundry%2Fcontext%2Fcontext) or [Azure OpenAI resource](../../../ai-services/openai/how-to/create-resource.md) in the same resource group, you can connect it to your hub. You can also connect [Azure AI Search](../../../search/search-create-service-portal.md) from any resource group in your same subscription.
8585

8686
# [Python SDK](#tab/python)
8787

@@ -95,15 +95,15 @@ After creating your own AI Services, you can connect it to your hub.
9595

9696
[!notebook-python[](~/azureml-examples-main/sdk/python/resources/connections/connections.ipynb?name=ml_client)]
9797

98-
2. Use `ml_client` to create the connection to your AI Services:
98+
2. Use `ml_client` to create the connection to your AI Services. You can find endpoints in [Azure portal](https://portal.azure.com) under **Resource management > Keys and endpoints**. For an AI Foundry resource, use the **AI Services** endpoint. For Azure AI Search, use the Url for the endpoint.
9999

100100
```python
101101
from azure.ai.ml.entities import AzureAIServicesConnection
102102

103103
# construct an AI Services connection
104104
my_connection_name = "myaiservivce" # any name you want
105-
aiservices_resource_name = <resource_name> # copy from Azure AI Foundry portal
106-
my_endpoint = "<endpoint>" # copy from Azure AI Foundry portal
105+
aiservices_resource_name = <resource_name> # copy from Azure portal
106+
my_endpoint = "<endpoint>" # copy from Azure portal
107107
my_api_keys = None # leave blank for Authentication type = AAD
108108
my_ai_services_resource_id = f"/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.CognitiveServices/accounts/{aiservices_resource_name}"
109109

articles/ai-foundry/includes/development-environment-config.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ ms.author: sgilley
99
ms.custom: include file, build-2024
1010
---
1111

12-
1. Install azure-identity: `pip install azure-identity`. If in a notebook cell, use `%pip install azure-identity`.
12+
1. Install packages. (If in a notebook cell, use `%pip install` instead.)
13+
14+
```bash
15+
pip install azure-ai-ml
16+
pip install azure-identity
17+
```
18+
1319
1. Provide your subscription details:
1420

1521
[!notebook-python[](~/azureml-examples-main/sdk/python/resources/workspace/workspace.ipynb?name=subscription_id)]

0 commit comments

Comments
 (0)