Skip to content

Commit 0f2f1a6

Browse files
committed
mangesh comments
1 parent fcd8f2a commit 0f2f1a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/app-service/invoke-openapi-web-app-from-azure-ai-agent-service.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ In the following tutorial, you're using an Azure AI Agent to invoke an API hoste
2222
To complete this tutorial, you need an Azure AI Agent project and a RESTful API hosted on Azure App Service. The API should have an OpenAPI specification that defines the API. The OpenAPI specification for the sample app in this tutorial is provided.
2323

2424
1. Ensure you complete the prerequisites and setup steps in the [quickstart](https://learn.microsoft.com/azure/ai-services/agents/quickstart?pivots=programming-language-python-azure). This quickstart walks you through creating your Azure AI Hub and Agent project. You should complete the agent configuration and agent sample the quickstart provides to get a full understanding of the tool and ensure your setup works.
25+
1. Ensure you have [Git installed](https://git-scm.com/downloads).
26+
1. Ensure you have the latest [.NET 9.0 SDK installed](https://dotnet.microsoft.com/download/dotnet/9.0).
2527
1. Follow the guidance in the next section to create the sample app and deploy it to Azure App Service. The sample app is a simple to-do list app that allows you to create, read, update, and delete items from the list.
2628

2729
## Create and deploy the sample app
@@ -32,8 +34,6 @@ To complete this tutorial, you need an Azure AI Agent project and a RESTful API
3234
az login
3335
```
3436

35-
1. Ensure you have [Git installed](https://git-scm.com/downloads).
36-
1. Ensure you have the latest [.NET 9.0 SDK installed](https://dotnet.microsoft.com/download/dotnet/9.0).
3737
1. In the terminal window, use `cd` to go to a working directory.
3838
1. Clone the sample repository, and then go to the repository root. This repository contains an app based on the tutorial [ASP.NET Core web API documentation with Swagger / OpenAPI](/aspnet/core/tutorials/web-api-help-pages-using-swagger?tabs=visual-studio). It uses a Swagger generator to serve the [Swagger UI](https://swagger.io/swagger-ui/) and the Swagger JSON endpoint.
3939

@@ -49,16 +49,16 @@ To complete this tutorial, you need an Azure AI Agent project and a RESTful API
4949
dotnet run
5050
```
5151

52-
1. Navigate to `http://localhost:5000/swagger` in a browser to try the Swagger UI.
53-
1. Navigate to `http://localhost:5000/api/todo` to see the to-do list.
54-
1. To stop the app, press `Ctrl+C` in the terminal window.
52+
1. Browse to `http://localhost:5000/swagger` in a browser to try the Swagger UI.
53+
1. Browse to `http://localhost:5000/api/todo` to see the to-do list.
54+
1. Press `Ctrl+C` in the terminal window to stop the app.
5555
1. To deploy the app to Azure App Service, run the following command.
5656

5757
```bash
5858
az webapp up
5959
```
6060

61-
1. After the app is deployed, navigate to the URL provided in the terminal window to see the app running in Azure App Service. It can take a few minutes for the app to be fully deployed and running. Note this URL for later use.
61+
1. After the app is deployed, browse to the URL provided in the terminal window to see the app running in Azure App Service. It can take a few minutes for the app to be fully deployed and running. Note this URL for later use.
6262

6363
## Connect your AI Agent to your App Service API
6464

@@ -402,7 +402,7 @@ Now that you have the required infrastructure, you can put it all together and s
402402
403403
## Run the OpenAPI Spec tool
404404
405-
1. Open a terminal and navigate to the directory where you created the `tool.py` and `swagger.json` files. To run the script, run the following command.
405+
1. Open a terminal and browse to the directory where you created the `tool.py` and `swagger.json` files. To run the script, run the following command.
406406
407407
```bash
408408
python tool.py

0 commit comments

Comments
 (0)