Coder Social home page Coder Social logo

abhishakvarshney / nlp-chatbot-mathematical_operation Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 6.62 MB

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

Python 100.00%
python nlp-machine-learning rasa-nlu rasa rasa-core chatbot javascript html css natural-language-processing natural-language-understanding

nlp-chatbot-mathematical_operation's Introduction

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

nlp-chatbot-mathematical_operation's People

Contributors

abhishakvarshney avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

amedat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.