Skip to content

Basic NLP based Chatbot which can take user info and can do some mathematical operations.

Notifications You must be signed in to change notification settings

abhishakvarshney/NLP-Chatbot-Mathematical_Operation

Repository files navigation

screenshot from 2019-02-01 14-57-42 screenshot from 2019-02-01 14-57-49 screenshot from 2019-02-01 14-57-57 screenshot from 2019-02-01 14-57-59

  1. Download & link language model of Spacy for the english language
>>> pip install rasa_nlu
>>> pip install rasa_core
2) For better result we can use large model: 
>>> python -m spacy download en_core_web_lg
  1. Linking manually:
python -m spacy link en_core_web_lg en
  1. ###Train

#####train nlu

python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project default
  1. #####train core
python -m rasa_core.train -d domain.yml -s stories.md -c policy_config.yml -o models/dialogue
  1. ####Interactive training
python -m rasa_core.train interactive -o models/dialogue -d domain.yml -s stories.md --nlu models/default/nlu --endpoints endpoints.yml --config policy_config.yml
  1. ######Main Functionality for testing######## ######Run################

#####rasa core nlu tracker #####actions

python -m rasa_core_sdk.endpoint --actions actions --port 8000
python run_all.py

###chatbot

yarn install
yarn build
yarn serve

Releases

No releases published

Packages

No packages published

Languages