Skip to content

Implementing OpenAI Tools and function calling for automatic event and task creations for a chat interface

Notifications You must be signed in to change notification settings

Roshan-Velpula/AI-Chat-Agents

Repository files navigation

AI Chat Agents

Welcome to the AI Chat Agents project! This project leverages OpenAI tools and function calling to enable automatic event and task creation within a chat interface.

Table of Contents

Introduction

AI Chat Agents is a chat interface project that integrates OpenAI tools to provide intelligent responses and automate event and task creation. This project uses a chat UI implemented with NiceGUI and includes functionality to interact with Google Calendar for event management.

Features

  • Chat interface with dynamic message updates.
  • User selection for personalized interactions.
  • Automatic response generation using OpenAI.
  • Integration with Google Calendar for event creation.
  • Task management and execution.

Installation

To get started with the AI Chat Agents project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/aichatagents.git
    cd aichatagents
  2. Create and activate a virtual environment:

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

    pip install -r requirements.txt
  4. Set up environment variables: Create a .env file in the project root and add your OpenAI API key and Google API credentials.

    OPENAI_API_KEY=your_openai_api_key
    

Usage

To run the application, execute the following command:

python chat_ui.py

About

Implementing OpenAI Tools and function calling for automatic event and task creations for a chat interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published