In this folder, you will find various examples showcasing the different capabilities of the Python Teams AI Library. Click on the sample folder to see set up and testing instructions. To learn more about all the different samples supported, see getting started.
It is recommended to use the Teams Toolkit for Visual Studio Code way to test a sample.
The easiest and fastest way to get up and running is with Teams Toolkit as your development guide. To use Teams Toolkit to automate setup and debugging, please continue below.
The simplest way to run this sample in Teams is to use Teams Toolkit for Visual Studio Code.
- Ensure you have downloaded and installed Visual Studio Code
- Install the Teams Toolkit extension
- Install the Python extension
- Install Poetry
- Select File > Open Folder in VS Code and choose this sample's directory from the repo
- Using the extension, sign in with your Microsoft 365 account where you have permissions to upload custom apps
- Verify that the Teams Toolkit extension is connected to your Teams account from the above step.
- In the debugger, play the Debug (Edge) script
- Select Debug > Start Debugging or F5 to run the app in a Teams web client.
- In the browser that launches, select the Add button to install the app to Teams.
If you do not have permission to upload custom apps (sideloading), Teams Toolkit will recommend creating and using a Microsoft 365 Developer Program account - a free program to get your own dev environment sandbox that includes Teams.