Server to perform NLU and NLP on incoming WhatsApp messages
- Python 3.8.13
- Rasa
- Clone this repo
git clone https://github.com/hanzala-sohrab/faq-bot.git
- Change directory
cd faq-bot
- Create a virtual environment and activate it
python3.8 -m venv venv && source venv/bin/activate
- Install required libraries
pip3.8 install -r requirements.txt
- Train the model (this step is required if any change is made to any of the
yml
files)rasa train
- Start the server
rasa run
- Getting college info like name, address, branches, placement stats, etc.
2022-04-28_04-54-19.mp4
- Getting faculty information
2022-04-28_05-02-41.mp4
-
The diagram above provides an overview of the Rasa Open Source architecture. The two primary components are Natural Language Understanding (NLU) and dialogue management.
-
NLU is the part that handles intent classification, entity extraction, and response retrieval. It's shown below as the NLU Pipeline because it processes user utterances using an NLU model that is generated by the trained pipeline.
-
The dialogue management component decides the next action in a conversation based on the context. This is displayed as the Dialogue Policies in the diagram.