This is a User Interface built for Autogen using ChainLit.
First install python=3.11 and other 3rd party dependencies. If you have conda installed, you can run the following commands:
conda create --name demo python=3.11 -y conda activate demo pip install -r requirements.txt
If you do not have conda installed but have virtualenv installed, you can run the following commands:
pip install virtualenv virtualenv demo -p python3. # on windows demo\Scripts\activate # on mac/linux source demo/bin/activate pip install -r requirements.txt
After installing the requirements:
- Visit https://platform.openai.com/account/api-keys and create an API key.
- Create a file called
.envin the root directory of this project. - Add your API key to the
.envfile, with similar format to the.env.examplefile. - Add your API key to the 'OAI_CONFIG_LIST' file in the root directory of this project.
Run the following command to start the chat interface.
chainlit run app.py
This is an example of using the chainlit chat interface with multi-agent conversation between agents to complete a tasks.
The tool was developed to grab data online and then process it to easily digestible human language.
app.py - Is an implementation of the groupchats of AutoGen.