GithubHelp home page GithubHelp logo

rasa-chatbot's Introduction

Rasa-chatbot

This repository contains all code for a website and associated chatbot I built. The chatbot is made using Rasa, an open-source machine learning framework for conversational AI. To use the Rasa chatbot on the website, a widget is used from this Github repository.

There are 3 things which need to be run in a command prompt in order to view the website and associated chatbot in a web browser:

  • Rasa models
  • Rasa action server
  • Flask server.

TO DO: make a requirements.txt file. Includes openpyxl, pandas, flask, babel, ...

To run

Clone the repository in a local directory. Create a virtual environment inside this local directory (on Windows, this can be done by typing python -m venv env).

To run the Rasa models, do the following in a command prompt window:

  • activate the virtual environment (on Windows, this is done by typing env\Scripts\activate from the local directory)
  • cd rasa
  • rasa run -m models --enable-api --cors "*" --debug

To run the Rasa action server, do the following in another command prompt window:

  • activate the virtual environment
  • cd rasa
  • rasa run actions

To run the Flask server from this local directory, do the following in another command prompt window:

  • activate the virtual environment from the local directory
  • python app.py

The website can then be viewed in a web browser at localhost:5000.

rasa-chatbot's People

Contributors

nielsrogge avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sharathmk99

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.