| author | anthonychu |
|---|---|
| ms.service | azure-container-apps |
| ms.topic | include |
| ms.date | 05/08/2024 |
| ms.author | antchu |
-
Run the sample app:
fastapi dev main.py
-
Open a browser and navigate to
http://localhost:8000/docs. You see the Swagger UI for the sample app. -
Expand the
/chatendpoint and select Try it out. -
Enter
What time is it right now?in themessagefield and select Execute.The agent responds with the current time. In the terminal, you see the logs showing the agent generated Python code to get the current time and ran it in a code interpreter session.
-
To stop the app, enter
Ctrl+Cin the terminal.