Chat Bot Natural Language Understanding and Processing for Indian local and International English Language
- Ubuntu 16+
- Mac OS Latest
- Windows 10 (Visual C++ Build tool)
https://conda.io/miniconda.html
Install Python using Conda. Rasa best works on Python 3.6
conda install python=3.6
We except you have install python 3.6 using Conda command
conda create -n rasa python=3.6
https://code.visualstudio.com/download
source activate rasa
Install Rasa NLU, Tensorflow, Spacy, Spacy ENG lang and Rasa Core
pip install --no-cache-dir rasa_nlu
pip install --no-cache-dir rasa_nlu[spacy]
python -m spacy download en_core_web_md
python -m spacy link en_core_web_md en
pip install --no-cache-dir rasa_nlu[tensorflow]
pip install -U rasa_core==0.11.11
git@github.com:bikashkumars/rasa_core_nlu_oriya.git
python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose
python index.py
python -m rasa_nlu.server --path projects
So far, you have suceefully completed RASA NLU. Now we will move to Rasa Core
python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue
python -m rasa_core.run -d models/dialogue -u models/current/nlu
pip show rasa_core Rasa Core - Version: 0.12.2
pip show rasa_nlu 0.13.8
pip show tensorflow Version: 1.10.0
Known Error rasa_core.exceptions.UnsupportedDialogueModelError: The model version is to old to be loaded by this Rasa Core instance. Either retrain the model, or run withan older version. Model version: 0.11.3 Instance version: 0.12.2 Minimal compatible version: 0.12.0
pip install -U rasa_core==0.11.11
Step-1 Train Rasa NLU (Intent, Entity)
python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose
Step-2 Generate Dialogs using Rasa Core (Flow)
python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue
Step-3 Run this Rasa Core Server
python -m rasa_core.run -d models/dialogue -u models/current/nlu
Step-4 Start Bot and start chatting
python bot.py