/NLP-bot

A chatbot that performs simple nlp tasks.

Primary LanguagePython

NLP-bot

A chatbot that performs simple nlp tasks.

Python 3.9 Rasa SpaCy

Installing

Create an python enviroment. Install rasa and other dependencies with following command:

pip install -r requirements.txt

After that you may need some SpaCy models to use the parse functionality.

python -m spacy download en_core_web_sm
python -m spacy download pt_core_news_sm
python -m spacy download es_core_news_sm
python -m spacy download it_core_news_sm
python -m spacy download fr_core_news_sm

Clone the repository.

git clone https://github.com/ajdavidl/NLP-bot.git
cd NLP-bot

Training Rasa

Open a terminal, and change directory to RasaServer and train the Rasa model.

cd RasaServer
rasa train

Getting started

Open three terminals on NLP-bot folder and run the shell ###scripts.

Run the action server

./startRasaActions.sh 

Run the rasa server

./startRasaServer.sh 

Run the user interface server

./startUI.sh

Open the user interface

Open your browser and access: http://localhost:3838