Skip to content

photon-collider/autogen-weather-chatbot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autogen Weather Chatbot Example

This project demonstrates the implementation of a simple weather chatbot using the Autogen library. It showcases how to create an AI agent capable of providing weather information through natural language interactions.

Features

  • Weather information retrieval using OpenWeather API
  • Natural language processing for user queries using OpenAI's gpt-4o-mini

Installation

  1. Clone this repository:

    git clone https://github.com/photon-collider/autogen-weather-chatbot-example.git
    cd autogen-weather-chatbot-example
    
  2. Create a Python virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Configuration

  1. Obtain API keys:

  2. Add your API keys to the notebook:

    • Open the main notebook file
    • Locate the sections for API key configuration
    • Replace the placeholder values with your actual API keys

Usage

  1. Activate your virtual environment (if not already activated):

    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    
  2. Launch the Jupyter notebook:

    jupyter notebook
    
  3. Open the main notebook file and follow the instructions within to run the weather chatbot.

Contributing

Contributions to improve this example project are welcome. Please follow these steps to contribute:

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Push your changes to your fork
  4. Create a pull request to the main repository

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, please open an issue on the GitHub repository.

About

Weather chatbot example built using the autogen library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published