Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 2.23 KB

README.md

File metadata and controls

32 lines (21 loc) · 2.23 KB

Samples

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.

Appendix

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.

Using Teams Toolkit for Visual Studio Code

The simplest way to run this sample in Teams is to use Teams Toolkit for Visual Studio Code.

  1. Ensure you have downloaded and installed Visual Studio Code
  2. Install the Teams Toolkit extension
  3. Install the Python extension
  4. Install Poetry
  5. Select File > Open Folder in VS Code and choose this sample's directory from the repo
  6. Using the extension, sign in with your Microsoft 365 account where you have permissions to upload custom apps
  7. Ensure that you have set up the sample from the previous step.
  8. Trigger Python: Create Environment from command palette and create a virtual environment
  9. Select Debug > Start Debugging or F5 to run the app in a Teams web client.
  10. 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.

Further reading