Skip to content

Commit 51eec00

Browse files
authored
Merge pull request #5231 from MicrosoftDocs/main
5/28/2025 11:00 AM IST Publish
2 parents 5fec282 + cf30cbe commit 51eec00

16 files changed

+28
-144
lines changed

articles/ai-services/agents/how-to/tools/azure-ai-search-samples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ agentClient.Administration.DeleteAgent(agent.Id);
320320
:::zone pivot="javascript"
321321

322322
## Create an Azure AI Client
323-
First, create an Azure AI Client using the connection string of your project.
323+
First, create an Azure AI Client using the endpoint your project.
324324

325325
```javascript
326-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
326+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
327327

328328
if (!projectString) {
329329
throw new Error("AZURE_AI_PROJECTS_CONNECTION_STRING must be set in the environment variables");

articles/ai-services/agents/how-to/tools/bing-code-samples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Use this article to find step-by-step instructions and code samples for Groundin
4949

5050
## Create a project client
5151

52-
Create a client object, which will contain the connection string for connecting to your AI project and other resources.
52+
Create a client object, which will contain the endpoint for connecting to your AI project and other resources.
5353

5454
```python
5555
import os
@@ -315,7 +315,7 @@ agentClient.Administration.DeleteAgent(agentId: agent.Id);
315315

316316
## Create a project client
317317

318-
Create a client object, which will contain the connection string for connecting to your AI project and other resources.
318+
Create a client object, which will contain the endpoint for connecting to your AI project and other resources.
319319

320320
```javascript
321321
const { AgentsClient, ToolUtility, isOutputOfType } = require("@azure/ai-agents");
@@ -324,7 +324,7 @@ const { DefaultAzureCredential } = require("@azure/identity");
324324

325325
require("dotenv/config");
326326

327-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
327+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
328328

329329
// Create an Azure AI Client
330330
const client = new AgentsClient(projectEndpoint, new DefaultAzureCredential());

articles/ai-services/agents/how-to/tools/code-interpreter-samples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Finally, delete the thread and the agent to clean up the resources created in th
259259

260260
## Create a project client
261261

262-
To use code interpreter, first you need to create a project client, which will contain a connection string to your AI project, and will be used to authenticate API calls.
262+
To use code interpreter, first you need to create a project client, which will contain an endpoint to your AI project, and will be used to authenticate API calls.
263263

264264
```javascript
265265
const { AgentsClient, isOutputOfType, ToolUtility } = require("@azure/ai-agents");
@@ -269,7 +269,7 @@ const fs = require("fs");
269269
const path = require("node:path");
270270
require("dotenv/config");
271271

272-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
272+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
273273

274274
// Create an Azure AI Client
275275
const client = new AgentsClient(projectEndpoint, new DefaultAzureCredential());

articles/ai-services/agents/how-to/tools/file-search-upload-files.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Use this article to find step-by-step instructions and code samples for uploadin
4545

4646
## Create a project client
4747

48-
Create a client object that contains the connection string for connecting to your AI project and other resources.
48+
Create a client object that contains the endpoint for connecting to your AI project and other resources.
4949

5050
```python
5151
import os
@@ -154,7 +154,7 @@ for message in messages.data:
154154

155155
## Create a project client
156156

157-
Create a client object that contains the connection string for connecting to your AI project and other resources.
157+
Create a client object that contains the endpoint for connecting to your AI project and other resources.
158158

159159
```csharp
160160
using Azure;
@@ -346,7 +346,7 @@ agentClient.Administration.DeleteAgent(agent.Id);
346346

347347
## Create a project client
348348

349-
Create a client object that contains the connection string for connecting to your AI project and other resources.
349+
Create a client object that contains the endpoint for connecting to your AI project and other resources.
350350

351351
```javascript
352352
const { AgentsClient, isOutputOfType, ToolUtility } = require("@azure/ai-agents");
@@ -356,7 +356,7 @@ const { DefaultAzureCredential } = require("@azure/identity");
356356
const fs = require("fs");
357357
require("dotenv/config");
358358

359-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
359+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
360360

361361
// Create an Azure AI Client
362362
const client = new AgentsClient(projectEndpoint, new DefaultAzureCredential());

articles/ai-services/agents/how-to/tools/function-calling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ const { DefaultAzureCredential } = require("@azure/identity");
490490

491491
require("dotenv/config");
492492

493-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
493+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
494494

495495
const client = new AgentsClient(projectEndpoint, new DefaultAzureCredential());
496496
const functionToolExecutor = new FunctionToolExecutor();

articles/ai-services/agents/how-to/tools/openapi-spec-samples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ After the interaction is complete, the script performs cleanup by deleting the c
183183

184184
## Create a project client
185185

186-
Create a client object that contains the connection string for connecting to your AI project and other resources.
186+
Create a client object that contains the endpoint for connecting to your AI project and other resources.
187187

188188
```javascript
189189
const { AgentsClient, isOutputOfType, ToolUtility } = require("@azure/ai-agents");
@@ -192,7 +192,7 @@ const { DefaultAzureCredential } = require("@azure/identity");
192192
const fs = require("fs");
193193
require("dotenv/config");
194194

195-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
195+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
196196

197197
// Create an Azure AI Client
198198
const client = new AgentsClient(projectEndpoint, new DefaultAzureCredential());

articles/ai-services/agents/includes/endpoint-string-portal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ ms.date: 12/11/2024
88
---
99

1010
> [!TIP]
11-
> You can also find your connection string in the **overview** for your project in the [Azure AI Foundry portal](https://ai.azure.com/), under **Libraries** > **Azure AI Foundry**.
12-
> :::image type="content" source="../media/quickstart/portal-endpoint-string.png" alt-text="A screenshot showing the connection string in the Azure AI Foundry portal." lightbox="../media/quickstart/portal-endpoint-string.png":::
11+
> You can also find your endpoint in the **overview** for your project in the [Azure AI Foundry portal](https://ai.azure.com/), under **Libraries** > **Azure AI Foundry**.
12+
> :::image type="content" source="../media/quickstart/portal-endpoint-string.png" alt-text="A screenshot showing the endpoint in the Azure AI Foundry portal." lightbox="../media/quickstart/portal-endpoint-string.png":::

articles/ai-services/agents/includes/quickstart-csharp.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ dotnet new console
3131

3232
Install the .NET package to your project. For example if you're using the .NET CLI, run the following command.
3333

34-
>[!Note]
35-
> Azure.AI.Agents.Persistent is only available as a prelease version. Please use the "-prerelease" flag to add the package until a release version becomes available.
36-
3734
```console
38-
dotnet add package Azure.AI.Agents.Persistent --prerelease
35+
dotnet add package Azure.AI.Agents.Persistent
3936
dotnet add package Azure.Identity
4037
```
4138

@@ -51,11 +48,11 @@ Use the following code to create and run an agent. To run this code, you will ne
5148

5249
[!INCLUDE [endpoint-string-portal](endpoint-string-portal.md)]
5350

54-
For example, your connection string may look something like:
51+
For example, your endpoint may look something like:
5552

5653
`https://myresource.services.ai.azure.com/api/projects/myproject`
5754

58-
Set this connection string in an appsetting variable named `ProjectEndpoint`.
55+
Set this endpoint in an appsetting variable named `ProjectEndpoint`.
5956

6057

6158
```csharp

articles/ai-services/agents/includes/quickstart-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ Use the following code to create and run an agent. To run this code, you will ne
5959

6060
[!INCLUDE [endpoint-string-portal](endpoint-string-portal.md)]
6161

62-
For example, your connection string may look something like:
62+
For example, your endpoint may look something like:
6363

6464
`https://myresource.services.ai.azure.com/api/projects/myproject`
6565

66-
Set this connection string as an environment variable named `PROJECT_ENDPOINT` in a `.env` file.
66+
Set this endpoint as an environment variable named `PROJECT_ENDPOINT` in a `.env` file.
6767

6868
> [!IMPORTANT]
6969
> * This quickstart code uses environment variables for sensitive configuration. Never commit your `.env` file to version control by making sure `.env` is listed in your `.gitignore` file.
@@ -92,7 +92,7 @@ const fs = require("fs");
9292
const path = require("node:path");
9393
require("dotenv/config");
9494

95-
const projectEndpoint = process.env["PROJECT_ENDPOINT"] || "<project connection string>";
95+
const projectEndpoint = process.env["PROJECT_ENDPOINT"];
9696
const modelDeploymentName = process.env["MODEL_DEPLOYMENT_NAME"] || "gpt-4o";
9797

9898
async function main() {

articles/ai-services/agents/includes/quickstart-python-openai.md

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)