Projeto final do curso de linguagem Natural.
Mais simples de instalar impossível, através do comando pip abaixo tudo vai ficar pronto para começar a brincadeira.
pip3 install rasa
Após a instalação, podemos verificar se o Rasa foi instalado corretamente através do comando.
Versão Utilizada
rasa --version
Rasa Version : 3.2.10
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.2.2
Python Version : 3.8.10
Operating System : Windows-10-10.0.19044-SP0
O rasa possui uma série de comandos para que seja possível, configurar, treinar e testar o nosso chatbot. Abaixo uma relação extraída da documentação do próprio Rasa. Mas vamos por partes, aqui só vamos ver alguns desses comandos.
Rasa Command Line Interface:
Command | Effect |
---|---|
rasa init |
Creates a new project with example training data, actions, and config files. |
rasa train |
Trains a model using your NLU data and stories, saves trained model in ./models . |
rasa interactive |
Starts an interactive learning session to create new training data by chatting to your assistant. |
rasa shell |
Loads your trained model and lets you talk to your assistant on the command line. |
rasa run |
Starts a server with your trained model. |
rasa run actions |
Starts an action server using the Rasa SDK. |
rasa visualize |
Generates a visual representation of your stories. |
rasa test |
Tests a trained Rasa model on any files starting with test_ . |
rasa data split nlu |
Performs a 80/20 split of your NLU training data. |
rasa data convert |
Converts training data between different formats. |
rasa data migrate |
Migrates 2.0 domain to 3.0 format. |
rasa data validate |
Checks the domain, NLU and conversation data for inconsistencies. |
rasa export |
Exports conversations from a tracker store to an event broker. |
rasa evaluate markers |
Extracts markers from an existing tracker store. |
rasa -h |
Shows all available commands. |