Skip to content

Commit d941d32

Browse files
committed
acrolinx
1 parent 6902479 commit d941d32

6 files changed

Lines changed: 9 additions & 9 deletions

articles/app-service/tutorial-ai-agent-web-app-langgraph-foundry-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The `FoundryTaskAgent` is initialized in the constructor of *src/agents/foundry_
100100
101101
This initialization code doesn't define any functionality for the agent, because you would typically build the agent in the Azure AI Foundry portal. As part of the example scenario, it also follows the OpenAPI pattern shown in [Add an App Service app as a tool in Azure AI Foundry Agent Service (Python)](tutorial-ai-integrate-azure-ai-agent-python.md), and makes its CRUD functionality available as an OpenAPI endpoint. This lets you add it to the agent later as a callable tool.
102102

103-
The OpenAPI code is defined in *src/routes/api.py*. For example, the "GET /tasks" route defines a custom `operation_id` in the ourter parmeter, as required by the [OpenAPI spec tool in Azure AI Foundry](/azure/ai-foundry/agents/how-to/tools/openapi-spec#prerequisites), and `description` helps the agent determine how to call the API:
103+
The OpenAPI code is defined in *src/routes/api.py*. For example, the "GET /tasks" route defines a custom `operation_id` parameter, as required by the [OpenAPI spec tool in Azure AI Foundry](/azure/ai-foundry/agents/how-to/tools/openapi-spec#prerequisites), and `description` helps the agent determine how to call the API:
104104

105105
:::code language="csharp" source="~/app-service-agentic-langgraph-foundry-python/src/routes/api.py" range="27-42" highlight="4-5" :::
106106

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If your web application already has useful features, like shopping, hotel bookin
2323
> * Add OpenAPI functionality to your web app.
2424
> * Make sure OpenAPI schema compatible with Azure AI Foundry Agent Service.
2525
> * Register your app as an OpenAPI tool in Azure AI Foundry Agent Service.
26-
> * Test your agent in the the agents playground.
26+
> * Test your agent in the agents playground.
2727
2828
## Prerequisites
2929

articles/app-service/tutorial-ai-integrate-azure-ai-agent-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If your web application already has useful features, like shopping, hotel bookin
2323
> * Add OpenAPI functionality to your web app.
2424
> * Make sure OpenAPI schema compatible with Azure AI Foundry Agent Service.
2525
> * Register your app as an OpenAPI tool in Azure AI Foundry Agent Service.
26-
> * Test your agent in the the agents playground.
26+
> * Test your agent in the agents playground.
2727
2828
## Prerequisites
2929

articles/app-service/tutorial-ai-integrate-azure-ai-agent-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If your web application already has useful features, like shopping, hotel bookin
2323
> * Add OpenAPI functionality to your web app.
2424
> * Make sure OpenAPI schema compatible with Azure AI Foundry Agent Service.
2525
> * Register your app as an OpenAPI tool in Azure AI Foundry Agent Service.
26-
> * Test your agent in the the agents playground.
26+
> * Test your agent in the agents playground.
2727
2828
## Prerequisites
2929

articles/app-service/tutorial-ai-integrate-azure-ai-agent-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.service: azure-app-service
1313

1414
# Add an App Service app as a tool in Azure AI Foundry Agent Service (Python)
1515

16-
In this tutorial, you'll learn how to expose an FastAPI 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.
16+
In this tutorial, you'll learn how to expose a FastAPI 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.
1717

1818
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 restaurant ratings app. By the end, you'll be able to see restaurant ratings as well as create new restaurants and new reviews with an agent through conversational AI.
1919

@@ -23,7 +23,7 @@ If your web application already has useful features, like shopping, hotel bookin
2323
> * Add OpenAPI functionality to your web app.
2424
> * Make sure OpenAPI schema compatible with Azure AI Foundry Agent Service.
2525
> * Register your app as an OpenAPI tool in Azure AI Foundry Agent Service.
26-
> * Test your agent in the the agents playground.
26+
> * Test your agent in the agents playground.
2727
2828
## Prerequisites
2929

articles/app-service/tutorial-ai-model-context-protocol-server-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.service: azure-app-service
1313

1414
# Integrate an App Service app as an MCP Server for GitHub Copilot Chat (Python)
1515

16-
In this tutorial, you'll learn how to expose an FastAPI app's functionality through Model Context Protocol (MCP), add it as a tool to GitHub Copilot, and interact with your app using natural language in Copilot Chat agent mode.
16+
In this tutorial, you'll learn how to expose a FastAPI app's functionality through Model Context Protocol (MCP), add it as a tool to GitHub Copilot, and interact with your app using natural language in Copilot Chat agent mode.
1717

1818
:::image type="content" source="media/tutorial-ai-model-context-protocol-server-python/model-context-protocol-call-success.png" alt-text="Scenario Preview: Screenshot showing that the response from the MCP tool call in the GitHub Copilot Chat window.":::
1919

@@ -160,7 +160,7 @@ At a minimum, open the [sample application](https://github.com/Azure-Samples/msd
160160
- The `@mcp.tool()` decorator adds a [tool](https://github.com/modelcontextprotocol/python-sdk?tab=readme-ov-file#tools) to the MCP server with its implementation.
161161
- The tool function's description helps the calling agent to understand how to use the tool and its parameters.
162162

163-
The tools duplicate the existing restaurant reviews functionality in the form-based FastAPI web application. If you want, you can add more tools for update and delete funcionality.
163+
The tools duplicate the existing restaurant reviews functionality in the form-based FastAPI web application. If you want, you can add more tools for update and delete functionality.
164164

165165
1. In *src/fastapi_app/app.py*, find the line for `app = FastAPI()` (line 24) and replace it with the following code:
166166

@@ -170,7 +170,7 @@ At a minimum, open the [sample application](https://github.com/Azure-Samples/msd
170170
app.mount("/mcp", mcp.streamable_http_app())
171171
```
172172

173-
This code mounts the MCP server's streamable HTTP endpoint to the existing FastAPI app at the the path `/mcp`. Together with the default path of the streamable HTTP endpoint, the full path is `/mcp/mcp`.
173+
This code mounts the MCP server's streamable HTTP endpoint to the existing FastAPI app at the path `/mcp`. Together with the default path of the streamable HTTP endpoint, the full path is `/mcp/mcp`.
174174

175175
## Test the MCP server locally
176176

0 commit comments

Comments
 (0)