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/sdk-overview.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ ms.service: azure-ai-foundry
6
6
ms.custom:
7
7
- build-2024
8
8
- ignite-2024
9
+
ai-usage: ai-assisted
9
10
ms.topic: how-to
10
-
ms.date: 07/01/2025
11
+
ms.date: 08/15/2025
11
12
ms.reviewer: dantaylo
12
13
ms.author: sgilley
13
14
author: sdgilley
@@ -41,6 +42,10 @@ The Azure AI Foundry SDK is a set of client libraries and services designed to w
41
42
42
43
## Unified Projects client library
43
44
45
+
The following examples show how to connect to your Azure AI Foundry project using different programming languages. This connection is the first step to accessing models, data, and AI services through the SDK. Each code block demonstrates how to authenticate and create a client for your project endpoint.
46
+
47
+
> [!TIP]
48
+
> The code samples below are starting points. You’ll use these clients to interact with models, run evaluations, and more, as described in the client libraries section below.
44
49
45
50
46
51
::: zone pivot="programming-language-python"
@@ -62,6 +67,7 @@ The [Azure AI Foundry Projects client library for Python](/python/api/overview/a
62
67
project = AIProjectClient(
63
68
endpoint="your_project_endpoint", # Replace with your endpoint
64
69
credential=DefaultAzureCredential())
70
+
# The AIProjectClient lets you access models, data, and services in your project.
65
71
```
66
72
::: zone-end
67
73
@@ -88,6 +94,7 @@ The [Azure AI Foundry Projects client library for Java (preview)](/java/api/over
88
94
.credential(new DefaultAzureCredential())
89
95
.endpoint(endpoint)
90
96
.buildClient();
97
+
// The ProjectsClient enables unified access to your project's resources.
91
98
```
92
99
93
100
@@ -113,6 +120,7 @@ The [Azure AI Foundry Projects client library for JavaScript](/javascript/api/ov
113
120
114
121
const endpoint = "your_project_endpoint"; // Replace with your actual endpoint
115
122
const project = new AIProjectClient(endpoint, new DefaultAzureCredential());
123
+
// The AIProjectClient lets you access models, data, and services in your project.
116
124
```
117
125
118
126
@@ -147,16 +155,20 @@ The [Azure AI Foundry Projects client library for .NET](/dotnet/api/overview/azu
147
155
credential,
148
156
new string[] { "https://cognitiveservices.azure.com/.default" }
149
157
);
158
+
// The PerRetry position ensures the authentication policy is applied to every retry attempt.
159
+
// This is important for robust authentication in distributed/cloud environments.
// The ChatCompletionsClient lets you interact with models and services in your project.
157
168
```
158
169
159
170
::: zone-end
171
+
After you create a client, you can use it to access models, run evaluations, and connect to other AI services. The next section lists the available client libraries and shows how to use them for specific Azure AI services.
0 commit comments