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/connections-add.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Here's a table of some of the available connection types in Azure AI Foundry por
59
59
| API key ||| API Key connections handle authentication to your specified target on an individual basis. |
60
60
| Custom ||| Custom connections allow you to securely store and access keys while storing related properties, such as targets and versions. Custom connections are useful when you have many targets or cases where you wouldn't need a credential to access. LangChain scenarios are a good example where you would use custom service connections. Custom connections don't manage authentication, so you have to manage authentication on your own. |
61
61
| Serverless Model | ✓ || Serverless Model connections allow you to serverless API deployment. |
62
-
| Azure Databricks | ✓ || Azure Databricks connector allows you to connect your Azure AI Foundry Agents to Azure Databricks to access workflows and Genie Spaces during runtime. It supports three connection types - __Jobs__, __Genie__, and __Other__. You can pick the Job or Genie space you want associated with this connection while setting up the connection in the Foundry UI. You can also use the Other connection type and allow your agent to access workspace operations in Azure Databricks. Authentication is handled through Microsoft Entra ID for users or service principals. |
62
+
| Azure Databricks | ✓ || Azure Databricks connector allows you to connect your Azure AI Foundry Agents to Azure Databricks to access workflows and Genie Spaces during runtime. It supports three connection types - __Jobs__, __Genie__, and __Other__. You can pick the Job or Genie space you want associated with this connection while setting up the connection in the Foundry UI. You can also use the Other connection type and allow your agent to access workspace operations in Azure Databricks. Authentication is handled through Microsoft Entra ID for users or service principals. For examples of using this connector, see [Jobs](https://github.com/Azure-Samples/AI-Foundry-Connections/blob/main/src/samples/python/sample_agent_adb_job.py) and [Genie](https://github.com/Azure-Samples/AI-Foundry-Connections/blob/main/src/samples/python/sample_agent_adb_genie.py). |
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/get-started-projects-vs-code.md
+36-8Lines changed: 36 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
2
title: Work with the Azure AI Foundry for Visual Studio Code extension
3
3
titleSuffix: Azure AI Foundry
4
-
description: Use this article to learn how to deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
4
+
description: Use this article to learn how to create projects and deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
5
5
manager: mcleans
6
6
ms.service: azure-ai-foundry
7
7
content_well_notification:
8
8
- AI-contribution
9
9
ai-usage: ai-assisted
10
10
ms.topic: how-to
11
-
ms.date: 05/07/2025
11
+
ms.date: 05/20/2025
12
12
ms.reviewer: erichen
13
13
ms.author: johalexander
14
14
author: ms-johnalex
15
-
# customer intent: As an AI app developer, I want to learn how to use the Azure AI Foundry for Visual Studio Code extension so that I can deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
15
+
# customer intent: As an AI app developer, I want to learn how to use the Azure AI Foundry for Visual Studio Code extension so that I can create projects and deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
16
16
---
17
17
18
18
# Work with the Azure AI Foundry for Visual Studio Code extension (Preview)
@@ -42,8 +42,6 @@ Before using the Azure AI Foundry for Visual Studio Code extension, you must:
42
42
43
43
- Download, install, and configure Visual Studio Code. More information: [Download Visual Studio Code](https://code.visualstudio.com/Download)
44
44
45
-
-[An existing Azure AI Foundry project](/azure/ai-foundry/how-to/create-projects?tabs=ai-studio). The extension interacts with Azure AI Foundry at the project level.
46
-
47
45
- Your subscription needs to be below your [quota limit](../quota.md) to [deploy a new model in this quickstart](#deploy-a-model-from-the-model-catalog). Otherwise you already need to have a [deployed chat model](../deploy-models-openai.md).
48
46
49
47
## Installation
@@ -110,13 +108,44 @@ The Azure AI Foundry Extension opens in its own view, with the Azure AI Foundry
110
108
-**Model Playground**: The link to the model playground for interacting with your deployed models in your Azure AI Foundry project.
111
109
-**Agent Playground**: The link to the agent playground for interacting with your deployed agents in your Azure AI Foundry project.
112
110
113
-
-**Help and Feedback**: This section contains links to the Azure AI Foundry documentation, feedback, and support. It contains the following subsections:
111
+
-**Help and Feedback**: This section contains links to the Azure AI Foundry documentation, feedback, support, and the Microsoft Privacy Statement. It contains the following subsections:
114
112
-**Documentation**: The link to the Azure AI Foundry Extension documentation.
115
113
-**GitHub**: The link to the Azure AI Foundry extension GitHub repository.
114
+
-**Microsoft Privacy Statement**: The link to the Microsoft Privacy Statement.
116
115
117
116
>[!NOTE]
118
117
> To learn more about working with Agents and Threads in the Azure AI Foundry Extension, see the [Work with Azure AI Foundry Agent Service in Visual Studio Code](./vs-code-agents.md) article.
119
118
119
+
## Create a project
120
+
121
+
You can create a new Azure AI Foundry project from the Azure AI Foundry Extension view with the following steps:
122
+
123
+
1. Select the **plus** icon next to **Resources** in the **Resources** section of the Azure AI Foundry Extension view.
124
+
125
+
1. In the top center, enter the Azure AI Foundry Project name to use in the **Enter project name** textbox and press Enter.
126
+
127
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/enter-project-name.png" alt-text="Screenshot of the Enter project name textbox." lightbox="../../media/how-to/get-started-projects-vs-code/enter-project-name.png":::
128
+
129
+
You can either create a new resource group or select an existing one.
130
+
- To create a new resource group:
131
+
1. In the top center, select **Create new resource group** and press Enter.
132
+
133
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-resource-group.png" alt-text="Screenshot of the Choose resource group dropdown with the Create new resource group item highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/select-resource-group.png":::
134
+
135
+
1. In the top center, enter the Azure Resource Group name to use in the **Enter new resource group** textbox and press Enter.
136
+
137
+
1. In the top center, select the location you want to use from the list of available locations and press Enter.
138
+
139
+
- To use an existing resource group:
140
+
1. In the top center, select the resource group you want to use from the list of available resource groups and press Enter.
141
+
142
+
After project deployment, a popup appears with the message **Project deployed successfully**.
143
+
144
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/project-deployed.png" alt-text="A screenshot of the Project deployed successfully popup with the Deploy a model button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/project-deployed.png":::
145
+
146
+
To deploy a model to the newly created project, select the **Deploy a model** button in the popup.
147
+
This action opens the **Model Catalog** page in the Azure AI Foundry Extension view to select the desired model to [deploy.](#deploy-a-model-from-the-model-catalog)
148
+
120
149
### The default Azure AI Foundry Project
121
150
122
151
When you open a project in the Azure AI Foundry Extension, that project is set as your default project.
@@ -131,7 +160,6 @@ Your selected project will now display **Default** after the project name.
131
160
132
161
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/default-project.png" alt-text="A screenshot of the designated default project." lightbox="../../media/how-to/get-started-projects-vs-code/default-project.png":::
133
162
134
-
135
163
## Work with models
136
164
137
165
The Azure AI Foundry for Visual Studio Code extension enables you to create, interact with, and deploy Large Language Models from within Visual Studio Code.
@@ -187,7 +215,7 @@ Deploy a selected model in the model catalog using the following steps:
187
215
188
216
1. In the top center, select the AI service to use in the **Choose an AI service** dropdown and press Enter.
189
217
190
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png" alt-text="Screenshot of the Chosen AI service dropdown." lightbox="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png":::
218
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png" alt-text="Screenshot of the Choose an AI service dropdown." lightbox="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png":::
191
219
192
220
1. In the top center, select the model version to use in the **Choose model version** dropdown and press Enter.
Azure AI Agents supports function calling, which allows you to describe the structure of functions to an Assistant and then return the functions that need to be called along with their arguments. These examples show how to use Azure Functions to process the function calls through queue messages in Azure Storage. You can see a complete working sample on [GitHub](https://github.com/Azure-Samples/azure-functions-ai-services-agent-python)
18
+
Azure AI Agents supports function calling, which allows you to describe the structure of functions to an Assistant and then return the functions that need to be called along with their arguments. These examples show how to use Azure Functions to process the function calls through queue messages in Azure Storage.
19
19
20
20
21
21
## Prerequisites
@@ -25,6 +25,8 @@ Azure AI Agents supports function calling, which allows you to describe the stru
25
25
26
26
::: zone pivot="python"
27
27
28
+
> [!TIP]
29
+
> You can find a complete working sample on [GitHub](https://github.com/Azure-Samples/azure-functions-ai-services-agent-python)
28
30
29
31
## Define a function for your agent to call
30
32
@@ -312,6 +314,9 @@ For any issues with the TypeScript code, create an issue on the [sample code rep
312
314
-->
313
315
::: zone pivot="csharp"
314
316
317
+
> [!TIP]
318
+
> You can find a complete working sample on [GitHub](https://github.com/Azure-Samples/azure-functions-ai-services-agent-dotnet)
319
+
315
320
## Prerequisites for .NET Azure Function Sample
316
321
To make a functioncall, we need to create and deploy the Azure function. In the code snippet, we have an example of functionon C# which can be used by the earlier code.
Copy file name to clipboardExpand all lines: articles/ai-services/agents/how-to/tools/bing-code-samples.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,11 +166,17 @@ PersistentAgentsClient agentClient = new(projectEndpoint, new DefaultAzureCreden
166
166
To make the Grounding with Bing search tool available to your agent, use a connection to initialize the tool and attach it to the agent. You can find your connection in the **connected resources** section of your project in the [Azure AI Foundry portal](https://ai.azure.com/).
[See the full sample for Grounding with Bing Search.](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/samples/agents/sample_agents_bing_grounding.py)
507
+
[See the full sample for Grounding with Bing Search.](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-agents/samples/agents_tools/sample_agents_bing_grounding.py)
0 commit comments