Skip to content

Commit d3e5190

Browse files
committed
review feedback
1 parent 0aebb52 commit d3e5190

File tree

9 files changed

+27
-28
lines changed

9 files changed

+27
-28
lines changed

articles/app-service/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ items:
6161
href: deploy-intelligent-apps-dotnet-to-azure-sql.md
6262
- name: Add MCP server to app
6363
href: tutorial-ai-model-context-protocol-server-dotnet.md
64-
- name: AI Foundry Agent calling OpenAPI app
65-
href: tutorial-ai-integrate-azure-ai-agent-openapi-dotnet.md
64+
- name: AI Foundry Agent calling web app
65+
href: tutorial-ai-integrate-azure-ai-agent-dotnet.md
6666
- name: Agentic web app (.NET)
67-
href: tutorial-ai-agentic-web-app-semantic-kernel-foundry.md
67+
href: tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet.md
6868
- name: Invoke OpenAPI app from Azure AI Agent
6969
href: invoke-openapi-web-app-from-azure-ai-agent-service.md
7070
- name: Chatbot with local SLM

articles/app-service/tutorial-ai-agentic-web-app-semantic-kernel-foundry.md renamed to articles/app-service/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,31 @@ If your web application already has useful features, like shopping, hotel bookin
2121
### [Semantic Kernel](#tab/semantickernel)
2222

2323

24-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/semantic-kernel-agent.png" alt-text="Screenshot of a chat completion session with a semantic kernel agent.":::
24+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/semantic-kernel-agent.png" alt-text="Screenshot of a chat completion session with a semantic kernel agent.":::
2525

2626
### [Azure AI Foundry Agent Service](#tab/aifoundry)
2727

28-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/ai-foundry-agent.png" alt-text="Screenshot of a chat completion session with an Azure AI Foundry agent.":::
28+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/ai-foundry-agent.png" alt-text="Screenshot of a chat completion session with an Azure AI Foundry agent.":::
2929

3030
-----
3131

32+
Both Semantic Kernel and Azure AI Foundry Agent Service enable you to build agentic web applications with AI-driven capabilities. The following table shows some of the some of the considerations and trade-offs:
33+
34+
| Consideration | Semantic Kernel | Azure AI Foundry Agent Service |
35+
|--------------------|-------------------------------|----------------------------------------|
36+
| Performance | Fast (runs locally) | Slower (managed, remote service) |
37+
| Development | Full code, maximum control | Low code, rapid integration |
38+
| Testing | Manual/unit tests in code | Built-in playground for quick testing |
39+
| Scalability | App-managed | Azure-managed, auto-scaled |
40+
3241
In this tutorial, you learn how to:
3342

3443
> [!div class="checklist"]
44+
> * Convert existing app functionality into a plugin for Semantic Kernel.
45+
> * Add the plugin to a Semantic Kernel agent and use it in a web app.
46+
> * Convert existing app functionaltiy into an OpenAPI endpoint for Azure AI Foundry Agent Service.
47+
> * Call an Azure AI Foundry agent in a web app.
48+
- Assign the required permissions for managed identity connectivity.
3549

3650
## Prerequisites
3751

@@ -139,13 +153,13 @@ The OpenAPI code is defined in *Program.cs*. For example, the "get tasks" API de
139153

140154
1. Select **Azure OpenAI** and copy the URL in **Azure OpenAI endpoint** for later.
141155

142-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/foundry-project-endpoints.png" alt-text="Screenshot showing how to copy the OpenAI endpoint and the foundry project endpoint in the foundry portal.":::
156+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/foundry-project-endpoints.png" alt-text="Screenshot showing how to copy the OpenAI endpoint and the foundry project endpoint in the foundry portal.":::
143157

144158
1. From the left menu, select **Agents**, then select the default agent.
145159

146160
1. From the **Setup** pane, copy **Agent ID**, as well as the model name in **Deployment**.
147161

148-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/foundry-agent-id-model.png" alt-text="Screenshot showing how to copy the agent ID and the model deployment name in the foundry portal.":::
162+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/foundry-agent-id-model.png" alt-text="Screenshot showing how to copy the agent ID and the model deployment name in the foundry portal.":::
149163

150164
1. In the **Setup** pane, add an action with the OpenAPI spec tool. Use the OpenAPI schema that you get from the deployed web app and **anonymous** authentication. For detailed steps, see [How to use the OpenAPI spec tool](/azure/ai-foundry/agents/how-to/tools/openapi-spec-samples?pivots=portal).
151165

@@ -159,7 +173,7 @@ The OpenAPI code is defined in *Program.cs*. For example, the "get tasks" API de
159173

160174
1. At the upper right corner of the foundry portal, select the name of the resource, then select **Resource Group** to open it in the Azure portal.
161175

162-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/go-to-azure-portal.png" alt-text="Screenshot showing how to quickly go to the resource group view for the foundry resource in the Azure portal.":::
176+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/go-to-azure-portal.png" alt-text="Screenshot showing how to quickly go to the resource group view for the foundry resource in the Azure portal.":::
163177

164178
1. Add a role for each of the two resources for the App Service app's manage identity using the following table:
165179

@@ -213,11 +227,11 @@ The OpenAPI code is defined in *Program.cs*. For example, the "get tasks" API de
213227
### [Semantic Kernel](#tab/semantickernel)
214228

215229

216-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/semantic-kernel-agent.png" alt-text="Screenshot of a chat completion session with a semantic kernel agent.":::
230+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/semantic-kernel-agent.png" alt-text="Screenshot of a chat completion session with a semantic kernel agent.":::
217231

218232
### [Azure AI Foundry Agent Service](#tab/aifoundry)
219233

220-
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry/ai-foundry-agent.png" alt-text="Screenshot of a chat completion session with an Azure AI Foundry agent.":::
234+
:::image type="content" source="media/tutorial-ai-agentic-web-app-semantic-kernel-foundry-dotnet/ai-foundry-agent.png" alt-text="Screenshot of a chat completion session with an Azure AI Foundry agent.":::
221235

222236
-----
223237

@@ -231,21 +245,6 @@ azd down --purge
231245
232246
Sind the AZD template doesn't include the Azure AI Foundry resources, you need to delete them manually if you want.
233247

234-
## Frequently asked questions
235-
236-
---
237-
238-
### How to choose between Semantic Kernel and Azure AI Foundry Agent Service?
239-
240-
Both Semantic Kernel and Azure AI Foundry Agent Service enable you to build agentic web applications with AI-driven capabilities. The following table shows some of the some of the considerations and trade-offs:
241-
242-
| Consideration | Semantic Kernel | Azure AI Foundry Agent Service |
243-
|--------------------|-------------------------------|----------------------------------------|
244-
| Performance | Fast (runs locally) | Slower (managed, remote service) |
245-
| Development | Full code, maximum control | Low code, rapid integration |
246-
| Testing | Manual/unit tests in code | Built-in playground for quick testing |
247-
| Scalability | App-managed | Azure-managed, auto-scaled |
248-
249248
## More resources
250249

251250
- [Integrate AI into your Azure App Service applications](overview-ai-integration.md)

articles/app-service/tutorial-ai-integrate-azure-ai-agent-openapi-dotnet.md renamed to articles/app-service/tutorial-ai-integrate-azure-ai-agent-dotnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ms.custom:
1010
ms.collection: ce-skilling-ai-copilot
1111
---
1212

13-
# Add an App Service app as a OpenAPI tool in Azure AI Foundry Agent Service (.NET)
13+
# Add an App Service app as a tool in Azure AI Foundry Agent Service (.NET)
1414

1515
In this tutorial, you'll learn how to expose your app's functionality through OpenAPI, add it as a tool to Azure AI Foundry Agent Service, and interact with your app using natural language in the agents playground.
1616

1717
If your web application already has useful features, like shopping, hotel booking, or data management, it's easy to make those capabilities available to an AI agent in Azure AI Foundry Agent Service. By simply adding an OpenAPI schema to your app, you enable the agent to understand and use your app's capabilities when it responds to users' prompts. This means anything your app can do, your AI agent can do too, with minimal effort beyond creating an OpenAPI endpoint for your app. In this tutorial, you start with a simple to-do list app. By the end, you'll be able to create, update, and manage tasks with an agent through conversational AI.
1818

19-
:::image type="content" source="media/tutorial-ai-integrate-azure-ai-agent-openapi-dotnet/agents-playground.png" alt-text="Screenshot showing the agents playground in the middle of a conversation that takes actions by using the OpenAPI tool.":::
19+
:::image type="content" source="media/tutorial-ai-integrate-azure-ai-agent-dotnet/agents-playground.png" alt-text="Screenshot showing the agents playground in the middle of a conversation that takes actions by using the OpenAPI tool.":::
2020

2121
> [!div class="checklist"]
2222
> * Add OpenAPI functionality to your web app.
@@ -191,7 +191,7 @@ At a minimum, open the [sample application](https://github.com/Azure-Samples/msd
191191
- Create a task called "Come up with three lettuce jokes."
192192
- Change that to "Come up with three knock-knock jokes."
193193
194-
:::image type="content" source="media/tutorial-ai-integrate-azure-ai-agent-openapi-dotnet/agents-playground.png" alt-text="Screenshot showing the agents playground in the middle of a conversation that takes actions by using the OpenAPI tool.":::
194+
:::image type="content" source="media/tutorial-ai-integrate-azure-ai-agent-dotnet/agents-playground.png" alt-text="Screenshot showing the agents playground in the middle of a conversation that takes actions by using the OpenAPI tool.":::
195195
196196
## Next step
197197

0 commit comments

Comments
 (0)