Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.85 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.85 KB

Autogen Privacy Helper

Build and Deploy Test Tenant Build and Deploy MSFT Tenant

This is a simple project that demonstrates the use of autogen in the context of a Microsoft Teams AI bot. This bot models privacy review helper. The group is built for two purposes currently:

  1. Threat model validation (validates threat models)
  2. RAG Search (searches for information using RAG)
  3. Visualizer Agent (visualizes the threat model)

The basic structure of the autogen group is as follows: alt text

How to run the project

This project uses Teams AI library and autogen.

Prerequisites

  1. Install the Teams Toolkit extension for Visual Studio Code - Link
  2. Make sure you have conda

Steps

  1. Clone repo
  2. run conda env create -f environment.yml
  3. run poetry install
  4. Update .env. Make sure it includes either OPENAI_KEY or AZURE_OPENAI_API_KEY with AZURE_OPENAI_ENDPOINT. If you look for build_llm_config in the code, you will see how it builds the config for the model.
  5. Open the project in VSCode. Make sure you have the Teams Toolkit (TTK) extension installed.
  6. Go to the TTK extension, then click "local" debug under environment. This will create a package under appPackage/build folder and start Teams up. It'll also do the installation for your bot on Teams.