Code Monkey home page Code Monkey logo

rasa_bot_example's Introduction

Rasa chatbot example

This is an example rasa chatbot implementation that can be connected to your Facebook page.

Proof of Concept

The project was a quick one week implementation to demonstrate a desired architecture of Rasa components using the latest tensforflow embeddings

Feel free to make the project your own.

How to start

Requirements - Docker

First Step

Build 3 images

cd rasa_local_settings
docker build -t rasa_local_settings .
cd ..
cd rasa_nlu_setting
docker build -t rasa_nlu_setting .
cd ..
docker-compose build
docker-compose up

Traning

Models for NLU are not pre-trained,

To train

docker-compose up
docker exec -it rasabotexample_rasa_nlu_setting_1 bash
python -m rasa_nlu.train --config config.yaml --data nlu/training_data.json --path nlu --project bot1

Run chatbot

docker exec -it rasabotexample_rasa_core_test_1 bash
python bot.py --port 5005
/usr/local/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
2018-04-22 18:05:08.859702: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Bot loaded. Type a message and press enter:

Note

I am no longer supporting this project. This was just an example.

rasa_bot_example's People

Contributors

souvikg10 avatar

Watchers

James Cloos avatar RAJ TOMAR 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.