Skip to content

Ajju2211/Restaurant-Bot-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant-Bot-Automation

Push Rasa bot container to Heroku

Push action server to heroku

MODULES LIST (append here!)

$ pip3 install  rasa==1.10.8
$ pip3 install rasa[spacy]
$ python -m spacy download en_core_web_md
$ python -m spacy link en_core_web_md en
$ python -m nltk.downloader punkt 
$ python -m nltk.downloader stopwords
$ pip3 install  pandas==1.1.0
$ pip3 install  nltk==3.5
$ pip3 install fuzzywuzzy==0.18.0
$ pip3 install firebase-admin==4.4.0
$ pip3 install secrets==1.0.2
$ pip3 install python-levenshtein==0.12.0  *** for linux and other docker, os ***
cmd:\ conda install -c conda-forge python-levenshtein==0.12.0  *** for windows only ***

Extra SETUP

  • Create conda environment and create project in this environment
  • After installing requirements in above Modules LIST
  • To add custom component to rasa
    • Add current working directory of this project in your python environment variable - eg: PATH = D:\Projects...\Restaurant-Bot-Automation
  • To set the console channel Timeout in seconds
    • Go to Anaconda3\envs{your_rasa_env}\Lib\site-packages\rasa\core\channels\console.py
    • And set DEFAULT_STREAM_READING_TIMEOUT_IN_SECONDS=200

How to Train ?

  • To use default Rasa configs
$ rasa train
  • To use spacy config pipeline (Fast to train)
$ rasa train -c spacy_config.yml

How to run

You need to run both Action server & Rasa server

  • To run action server
$ rasa run actions --actions actionserver.actions
  • To run rasa in debug mode to inspect slot filling and entities ..,
$ rasa shell --debug
  • To run rasa in normal shell
$ rasa shell
  • To run rasa in UI of Index.html in bot-ui folder
$ rasa run -m models --enable-api --cors "*" --debug

TASK DONE

  • Complaints
    • Back button in complaints
    • Saving complaints
    • Able to save anything
  • Feedbacks
    • Back button
    • Saving feedbacks
    • Able to save anything
  • Ordering
    • Back buttons
      • Back button to change dish after selecting
      • Back buttons everywhere
    • Able to search any dish
    • Menu image based
    • Category wise ordering
    • Explore Dishes by displaying Carousels
    • Sorts
      • Sort by price
      • Sort by names
      • Sort by rating
      • Sort by nearest location
      • Sort by popular dish
    • Filters
      • price range
      • location
      • Rating
  • Faqs
    • Back in Faqs
    • Search question
    • Select Queston (collapsible button)
  • home menu showing options
    • Back in home menu
    • included Faq's
    • included Ordering
    • included queries (complaints/Feedbacks)

License

Apache License 2.0