Welcome to the official chatbot of Sri Sapthagiri Pre-University College! This guide will walk you through the process of setting up and running this chatbot on your local machine. Whether you're a seasoned developer or just starting, this guide will provide you with all the necessary steps to get the chatbot up and running.
This chatbot is designed to be a virtual assistant for Sri Sapthagiri Pre-University College. It can provide information about the college, including courses, faculty, events, and more. The goal of this project is to provide a user-friendly and interactive way for students, parents, and staff to get the information they need.
- Course Information: Get details about the science and commerce streams offered at the college, including the different subject combinations available.
- Faculty Information: Learn more about the esteemed faculty members of the college, including their qualifications and departments.
- Event Information: Stay up-to-date with the latest events happening at the college, from the STEM Expo to cultural fests.
- College Information: Get answers to frequently asked questions about the college, such as its location, history, and special achievements.
- Conversational AI: Engage in a natural and interactive conversation with the chatbot.
This guide will provide you with a step-by-step process to set up the chatbot on your local machine. We'll cover everything from setting up the environment to running the chatbot.
Before you begin, make sure you have the following software installed on your machine:
- Python (version 3.8 or higher): You can download Python from the official website: https://www.python.org/downloads/
- pip: pip is the package installer for Python. It usually comes with Python, but you can check if it's installed by running
pip --versionin your terminal. - Git: Git is a version control system that we'll use to clone the repository. You can download Git from the official website: https://git-scm.com/downloads
To avoid conflicts with other Python projects, it's highly recommended to create a virtual environment for this project.
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
Now, let's clone the repository to your local machine.
git clone https://github.com/Mustaqeem-Rafi/Rasa-Chatbot-Project.git
cd Rasa-Chatbot-ProjectNext, we'll install all the required dependencies for this project.
pip install -r requirements.txtHere's a brief overview of the key files and directories in the project:
actions/: This directory contains the custom actions for the chatbot.data/: This directory contains the NLU data, stories, and rules for the chatbot.models/: This directory will contain the trained models.config.yml: This file contains the configuration for the NLU pipeline and policies.domain.yml: This file defines the intents, entities, slots, responses, and actions for the chatbot.endpoints.yml: This file contains the configuration for the action server and other endpoints.
Now, it's time to train the Rasa model. This will train the NLU model and the Core model.
rasa trainNote on 2025 Rasa Protocols: As of 2025, Rasa may have introduced new training commands or options. Always refer to the official Rasa documentation for the latest information on training models.
To run the chatbot, you'll need to run the Rasa server and the action server in two separate terminals.
Terminal 1: Run the Rasa Server
rasa runTerminal 2: Run the Action Server
rasa run actionsOnce both servers are running, you can interact with the chatbot through the command line in the first terminal.
- Dependency Issues: If you encounter any issues with the dependencies, make sure you are using the correct version of Python and that you have activated the virtual environment.
- Model Training Issues: If you have issues with training the model, make sure your
config.ymlanddomain.ymlfiles are correctly formatted. - Action Server Issues: If you have issues with the action server, make sure your
endpoints.ymlfile is correctly configured and that your custom actions in theactions/directory are free of errors.
- Adding New Intents: To add new intents, you'll need to add them to the
domain.ymlfile and provide examples in thedata/nlu.ymlfile. - Adding New Responses: To add new responses, you'll need to add them to the
domain.ymlfile. - Adding New Actions: To add new custom actions, you'll need to create a new action class in the
actions/actions.pyfile and add the action to thedomain.ymlfile.
This chatbot can be deployed to various platforms, such as a website, Slack, or Facebook Messenger. For detailed instructions on deployment, please refer to the official Rasa documentation.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- The students who developed this chatbot:
- Mohammed Tahir
- Mustaqeem Rafi
- Hema Sai T
- Kiran S.K
- The computer science faculty who guided the project:
- Miss Prabharani S
- Mr Jeelani