/AutoGen-Example-Scripts

A simplified setup for users to explore the AutoGen library. Contains example scripts derived from AutoGen notebooks for a hassle-free experience.

Primary LanguagePython

AutoGen-Example-Scripts

Welcome to the AutoGen-Example-Scripts repository! This repository is designed for users who want to try out the AutoGen library without the hassle of setting up everything from scratch. Here, we've simplified the process: just clone the project, install the requirements, update your API key, and run the scripts. The scripts in this repository are derived from the notebooks provided by AutoGen, making it easier for you to dive right into the action.

Quick Links

Setup and Run

  1. Clone the Repository

    git clone https://github.com/Poly186-AI-DAO/AutoGen-Example-Scripts.git
  2. Navigate to the Project Directory

    cd AutoGen-Example-Scripts
  3. Install the Required Packages

    pip install -r requirements.txt
  4. Add OpenAI Key

    Add your OpenAI key to the OAI_config_list.json.

  5. Navigate to the Notebooks Directory

    cd autogen_notebooks
  6. Run the Scripts

    Here are the available scripts you can run:

    • Function Call

      python function_call.py
    • Group Chat Research

      python groupchat_research.py
    • Internet Agent

      python internet_agent.py
    • Language Chain Tools

      python langchain_tools.py

Why This Repository?

The main goal of this repository is to provide a seamless experience for users who want to explore the capabilities of AutoGen without getting bogged down by the setup process. By offering a streamlined setup and execution process, we hope to encourage more users to experiment with and benefit from the AutoGen library.

Contribution

Feel free to contribute to the project by submitting pull requests or issues. Ensure you follow the contribution guidelines provided by the repository.

License

This project is licensed under the MIT License. Refer to the LICENSE file for more details.