Rasa NLU π€ + Google Calendar π
API Integration π
This program integrates Rasa NLU with the Google Calendar API, allowing you to efficiently manage your events. π
π Description
The Rasa NLU + Google Calendar API integration program provides a user-friendly interface to schedule events, retrieve event lists, and check for available free time slots. With the power of natural language understanding and seamless Google Calendar integration, you can effortlessly manage your busy schedule. β¨
π₯ Demo
Details
Google-Events-Chatbot.webm
βοΈ Features
Welcome to our awesome program! Here's a brief overview of what this π application can do for you:
π 1. Schedule Events: βοΈ Prompt: You can specify your event details, including the name and time. β
Function: The program will schedule your event as per the specified time. π β οΈ Conflict Handling: If there is a scheduling conflict, it will notify you and provide details of the conflicting events and their timings. πΌ Free Time Slots: Additionally, it will present the available free time slots for the same day. π
π 2. Get Event List: π
Prompt: You can specify a day to retrieve a list of events scheduled. β
Function: The program will fetch a list of events scheduled on the specified day. π
β° 3. Get Free Slots: π
Prompt: You can specify a day to check for available free time slots. β
Function: The program will provide you with a list of free time slots for the specified day. π
Let's get started and have a great time managing your events with ease! π
π§ Note: Make sure you have a valid Google Calendar API key and the necessary Rasa NLU dependencies installed to ensure smooth execution. If you face any issues or have questions, feel free to reach out for assistance. π
π Requirements
To use this program, you need the following:
Python 3.6+
Rasa NLU library
Google Calendar API credentials (API key or OAuth 2.0 credentials)
π§ Installation
Clone this repository:
git clone https://github.com/kamya-ai/Google-Events-Chatbot.git
cd Rasa-Google-Events
Create an anaconda environment with python version 3.8 (As this program is prepared on python v3.8):
conda create -n rasaenv python=3.8
conda activate rasaenv
Install the required dependencies:
pip install -r requirements.txt
Set up Google Calendar API credentials:
If using an API key, follow the instructions here.
If using OAuth 2.0 credentials, follow the instructions here and download the credentials JSON file.
Rename the downloaded credentials JSON file to
credentials.json and place it in the project directory.βΆοΈ Usage
Make sure you have completed the installation steps.
Run the following two processes in two seperate terminals:
rasa run actions
sudo docker run -p 8000:8000 rasa/duckling
In a seperate third terminal, run the following command to have a chat with the chatbot.
rasa shell
Follow the prompts to schedule events, retrieve event lists, or check for free time slots.
Enjoy managing your events effortlessly!
Note: Here, the model given is working for the tasks specified above. But to train newer models, some files are not given fully. To get them and have a customized chatbot with some added customization, you can contact.
π Troubleshooting
API Key/OAuth 2.0 Credentials: Ensure that you have a valid Google Calendar API key or OAuth 2.0 credentials and have correctly placed the
credentials.json file in the project directory.Dependency Issues: If you encounter any dependency-related issues, make sure you have installed the required dependencies by running
pip install -r requirements.txt.π₯ Contributions Contributions to this project are welcome. If you find any bugs or have suggestions for improvements, please create an issue on the project repository: https://github.com/kamya-ai/Google-Events-Chatbot/issues
π§ Note: The program requires a stable internet connection to interact with the Google Calendar API.
0 likes Β· 1 view Β· Aug 27, 2023
The Rasa NLU + Google Calendar API integration program provides a user-friendly interface to schedule events, retrieve event lists, and check for available freβ¦