Git Product home page Git Product logo

chatbot-1's Introduction

Chatbot

Libraries needed to run this chatbot:

  • rasa 2.2.9 (run pip install rasa==2.2.9 in command prompt)
  • rasa-x 0.38.1 (run pip3 install --use-deprecated=legacy-resolver rasa-x --extra-index-url https://pypi.rasa.com/simple in command prompt)

How to run this chatbot in command prompt?

  • First, run rasa train command to train the bot using the dataset provided in the repository.
  • Then, use rasa shell to interact with chatbot in command prompt.
  • Use rasa shell nlu to inspect the intent classified by the bot.

How to run this chatbot with rasa-x?

  • Run rasa run actions in one terminal. Do not close this tab.
  • Now, run rasa x in another terminal. This will open a tab in the browser.

How to test the chatbot?

  • Run rasa test nlu --cross-validation to test the chatbot which uses nlu data to test.
  • Run rasa test to test the chatbot with the test stories already provided in the tests/test_stories.yml file.
  • After testing, you can find the results in the results directory.

How to enable voice feature of the chatbot?

  • Copy the voice_bot_gtts.py inside the actions folder.
  • The instructions to activate this feature are already written inside this python file.
  • Note: This feature currently only works through command line and also requires active internet connection for the gTTS library.

chatbot-1's People

Contributors

kishan-aghera avatar jineshmajithia avatar hirvamathiya avatar yashvi-modi avatar

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.