| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Disclaimer: This repository is not maintained anymore!
A robust, decision-tree backed chatbot framework to manage conversations via Facebook messenger.
This code was developed by the AXA REV research team to serve as prototype for a chatbot framework to handle complex dialogues which involve plenty of questions and answers.
Main features:
Clone the respository and install the required gems:
bundle install
Generate secret keys for the development and test sections in config/secrets.yml:
rake secret
Create the database and load the schema:
rake db:setup
Open the Rails console with rails c and create your admin account:
User.create(email: "name@domain.com", password: "TOPSECRET_PASSWORD", password_confirmation: "TOPSECRET_PASSWORD", role: "admin")
Startup your local web server:
rails s
Login in at http://localhost:3000 and create your first click bot project.
For testing in your development environment, you will need to expose the Webhook url of your local server to the internet. This can be achieved using Ngrok.
Use action hooks in order to integrate any external web services. As blueprint you can customize the stub provided in lib/external_service.rb and call the service in the leaf node lib/chatbot.rb.
Use off-topics to handle arbitrary messages that go beyond the provided options.
For questions, please contact boris.ruf@axa.com.
Copyright (c) AXA Group Operations SAS
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Back | FazBrowse Home | New Git URL |