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.
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.
- 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.
To get started with the AI Chat Agents project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/aichatagents.git cd aichatagents
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
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
To run the application, execute the following command:
python chat_ui.py