HR Interview bot: Bot will ask interview questions and get the answers and validate and show report to you and HR.
Create Virtual environment
-
virtualenv --python=python3.6 env
-
source env/bin/activate
install both Rasa and Rasa X using pip:
- pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple
- Rasa NLU Training - build intent, entity classifier model
- Rasa Core Training - model will understand the conversations with the intent & entity
- rasa init --no-prompt
- sudo npm i -g rasa-nlu-trainer
- rasa-nlu-trainer --source data/data.json
- rasa train nlu
- rasa shell nlu
- rasa train
- rasa shell
- rasa interactive
before interactive if you have custom actions Actions.py, you must run on this comment in another terminal.
- rasa run actions
- rasa interactive
####### Main Demo in terminal
- rasa run actions && rasa shell
- domain.yml - intents to add new intent
- domain.yml - entities to add new entity
- domain.yml - actions to add new action
- domain.yml - templates to add new text for action
- domain.yml - slots to add new entity name with the type
https://linuxize.com/post/how-to-install-node-js-on-ubuntu-18.04/
- sudo npm -i rasa-nlu-trainer
-
before json create sample data.json and then run
-
rasa-nlu-trainer
-
add your intent and entities in data.json
sudo lsof -i:5005
SQL install: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
- Python needs a MySQL driver to access the MySQL database.Download and install "MySQL Connector":
- python -m pip install mysql-connector