Skip to content

Commit 3fb186e

Browse files
Merge pull request #4799 from sdgilley/sdg-release-dan-qs
Update articles/ai-foundry/how-to/develop/sdk-overview.md
2 parents eda03c1 + ce4a559 commit 3fb186e

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

articles/ai-foundry/how-to/develop/sdk-overview.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 05/07/2025
1212
ms.reviewer: dantaylo
1313
ms.author: sgilley
1414
author: sdgilley
15-
zone_pivot_groups: foundry-sdk-languages
15+
zone_pivot_groups: foundry-sdk-overview-languages
1616
# customer intent: I want to learn how to use the Azure AI Foundry SDK to build AI applications on Azure.
1717
---
1818

@@ -26,11 +26,14 @@ The Azure AI Foundry SDK is a comprehensive toolchain designed to simplify the d
2626

2727
The Azure AI Foundry SDK is a set of client libraries and services designed to work together.
2828

29+
> [!NOTE]
30+
> This article applies to a **[!INCLUDE [fdp](../../includes/fdp-project-name.md)]**. The code shown here doesn't work for a **[!INCLUDE [hub](../../includes/hub-project-name.md)]**. For more information, see [Types of projects](../../what-is-azure-ai-foundry.md#project-types).
31+
2932
## Prerequisites
3033

3134
* An Azure subscription. If you don't have one, create a [free account](https://azure.microsoft.com/free/).
32-
* [Create a project](../create-projects.md) if you don't have one already.
33-
* Sign in with the Azure CLI using the same account that you use to access your AI Project:
35+
* [Create a [!INCLUDE [fdp-project-name](../../includes/fdp-project-name.md)]](../create-projects.md?pivots=fdp-project) if you don't have one already.
36+
* Sign in with the Azure CLI using the same account that you use to access your project:
3437

3538
```bash
3639
az login
@@ -48,7 +51,7 @@ The Azure AI Foundry Projects client library is a unified library that enables y
4851
pip install azure-ai-projects azure-ai-identity
4952
```
5053

51-
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
54+
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
5255

5356
```python
5457
from azure.identity import DefaultAzureCredential
@@ -68,7 +71,7 @@ The Azure AI Foundry Projects client library is a unified library that enables y
6871
* `com.azure.ai.projects`
6972
* `com.azure.core`
7073

71-
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
74+
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
7275

7376
```java
7477
import com.azure.ai.projects.ProjectsClient;
@@ -77,8 +80,8 @@ The Azure AI Foundry Projects client library is a unified library that enables y
7780
7881
String endpoint ="your_project_endpoint"; // Replace with your endpoint
7982
80-
ProjectsClient client = new ProjectsClientBuilder()
81-
.credential(new AzureKeyCredential(apiKey))
83+
ProjectsClient projectClient = new ProjectsClientBuilder()
84+
.credential(new DefaultAzureCredential())
8285
.endpoint(endpoint)
8386
.buildClient();
8487
```
@@ -95,7 +98,7 @@ The Azure AI Foundry Projects client library is a unified library that enables y
9598
npm install @azure/ai-projects @azure/identity
9699
```
97100
98-
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
101+
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
99102
100103
101104
```javascript
@@ -104,8 +107,6 @@ The Azure AI Foundry Projects client library is a unified library that enables y
104107
105108
const endpoint = "your_project_endpoint"; // Replace with your actual endpoint
106109
const project = new AIProjectClient(endpoint, new DefaultAzureCredential());
107-
108-
const client = project.inference.azureOpenAI();
109110
```
110111
111112
::: zone-end
@@ -120,7 +121,7 @@ The Azure AI Foundry Projects client library is a unified library that enables y
120121
dotnet add package Azure.AI.Inference
121122
```
122123
123-
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
124+
* Create a project client in code. **Copy** the Azure AI Foundry project endpoint from the Overview page of the project and update the connections string value.
124125
125126
```csharp
126127
using Azure;
@@ -139,7 +140,7 @@ The Azure AI Foundry Projects client library is a unified library that enables y
139140
);
140141
clientOptions.AddPolicy(tokenPolicy, HttpPipelinePosition.PerRetry);
141142
142-
var client = new ChatCompletionsClient(
143+
var projectClient = new ChatCompletionsClient(
143144
endpointUrl,
144145
credential,
145146
clientOptions
@@ -168,9 +169,9 @@ To use Azure AI services, you can use the following client libraries with the en
168169
[!INCLUDE [C# include](../../includes/sdk/csharp.md)]
169170
::: zone-end
170171
171-
::: zone pivot="programming-language-go"
172+
<!-- ::: zone pivot="programming-language-go"
172173
[!INCLUDE [Go include](../../includes/sdk/go.md)]
173-
::: zone-end
174+
::: zone-end -->
174175
175176
::: zone pivot="programming-language-java"
176177
[!INCLUDE [Java include](../../includes/sdk/java.md)]

0 commit comments

Comments
 (0)