⭐ Mark the project with a star. 👀 Watch the project for receive news.
🇧🇷 Acesse esta página em Português do Brasil.
Artificial Intelligence postgraduation's Cognitive Computing: Chatbots discipline exercise using Python and Rasa NLU Framework to build a Brazilian Portuguese chatbot. The postgraduate course was held at Centro de Educação Superior de Brasília (IESB) and the referred discipline took place in 2020.
Create a chatbot using the Rasa Framework, with the same characteristics as the first exercise (performed in Watson Assitant, to build a chatbot similar to the one built in this project, but not publicly available), meeting the following requirements:
- Basic structure: Greeting, Ending, Action, Other questions (optional);
- Run at least one custom action within a form flow that connects to an external service (using Python requests);
- The pipeline must be configured allowing training of the chatbot in Brazilian Portuguese;
- Excellence in configuration and training will not be charged, but the training must be sufficient for the dialog flows to be executed;
- It is not necessary to integrate with any Front-end messenger, just deliver the Rasa Framework project;
- Submit the Rasa Framework project folder without the model files. To deliver, delete the files from the model folder, zip and send it. If you wish, you can version the files on GitHub.
Example using Linux operational system.
This is an example of how you may set up the project locally in your computer. We strongly recommended that you use virtual environments to run the application, we recommend Virtualenv (or any other of your choice). Read documentation, create and activate the virtual environment inside the project folder before steps 6.
To get a local copy up and running follow these steps:
- Make sure you have Python 3.8 installed or do it from Python.org or from Anaconda;
- Make sure you have Git installed or do it from Git-scm.com;
- Access the folder you want to save the project, then clone the repo there
git clone https://github.com/tjas/postgrad-ai-nlp-chatbot
- Access the project folder;
- Create and activate the virtual environment
virtualenv venv --python=/usr/local/bin/python3.8 source venv/bin/activate
- Install the project dependencies
pip install -r requirements.txt
- Train the model
rasa train
- Run the Action Server:
rasa run actions
- Run the Rasa Shell:
rasa shell
Thiago Jorge Almeida dos Santos, project author and maintainer.
- Code distributed under MIT License.