Skip to content

Commit 11a8475

Browse files
committed
updating quickstarts
1 parent 3b0d60d commit 11a8475

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
manager: nitinme
3+
author: aahill
4+
ms.author: aahi
5+
ms.service: azure
6+
ms.topic: include
7+
ms.date: 12/11/2024
8+
---
9+
10+
> [!TIP]
11+
> You can also find your connection string in the **overview** for your project in the [AI Foundry portal](https://ai.azure.com/), under **Project details** > **Project connection string**.
12+
> :::image type="content" source="../media/quickstart/portal-connection-string.png" alt-text="A screenshot showing the connection string in the Azure AI Foundry portal.":::

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Use the following code to create and run an agent. To run this code, you will ne
3838

3939
`<HostName>;<AzureSubscriptionId>;<ResourceGroup>;<ProjectName>`
4040

41+
[!INCLUDE [connection-string-portal](connection-string-portal.md)]
42+
4143
`HostName` can be found by navigating to your `discovery_url` and removing the leading `https://` and trailing `/discovery`. To find your `discovery_url`, run this CLI command:
4244

4345
```azurecli

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Use the following code to create and run an agent. To run this code, you will ne
4141

4242
`<HostName>;<AzureSubscriptionId>;<ResourceGroup>;<ProjectName>`
4343

44+
[!INCLUDE [connection-string-portal](connection-string-portal.md)]
45+
4446
`HostName` can be found by navigating to your `discovery_url` and removing the leading `https://` and trailing `/discovery`. To find your `discovery_url`, run this CLI command:
4547

4648
```azurecli

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Use the following code to create and run an agent. To run this code, you will ne
4040

4141
`<HostName>;<AzureSubscriptionId>;<ResourceGroup>;<ProjectName>`
4242

43+
[!INCLUDE [connection-string-portal](connection-string-portal.md)]
44+
4345
`HostName` can be found by navigating to your `discovery_url` and removing the leading `https://` and trailing `/discovery`. To find your `discovery_url`, run this CLI command:
4446

4547
```azurecli
@@ -78,8 +80,8 @@ with project_client:
7880
# The CodeInterpreterTool needs to be included in creation of the agent
7981
agent = project_client.agents.create_agent(
8082
model="gpt-4o-mini",
81-
name="my-assistant",
82-
instructions="You are helpful assistant",
83+
name="my-agent",
84+
instructions="You are helpful agent",
8385
tools=code_interpreter.definitions,
8486
tool_resources=code_interpreter.resources,
8587
)
197 KB
Loading

0 commit comments

Comments
 (0)