You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/create-hub-project-sdk.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ manager: scottpolly
6
6
ms.service: azure-ai-foundry
7
7
ms.custom: build-2024, devx-track-azurecli
8
8
ms.topic: how-to
9
-
ms.date: 02/13/2025
9
+
ms.date: 06/24/2025
10
10
ms.reviewer: dantaylo
11
11
ms.author: sgilley
12
12
author: sdgilley
@@ -79,9 +79,9 @@ az ml workspace create --kind hub --resource-group {my_resource_group} --name {m
79
79
80
80
---
81
81
82
-
## Create an AI Services connection
82
+
## Create an AI Foundry connection
83
83
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.
85
85
86
86
# [Python SDK](#tab/python)
87
87
@@ -95,15 +95,15 @@ After creating your own AI Services, you can connect it to your hub.
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.
99
99
100
100
```python
101
101
from azure.ai.ml.entities import AzureAIServicesConnection
102
102
103
103
# construct an AI Services connection
104
104
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
107
107
my_api_keys =None# leave blank for Authentication type = AAD
0 commit comments