The goal of this tool is to help you to have fast responses when you have some problems with OVH services.
JavaScript HTML
Clone or download
jleveugle Merge pull request #38 from ovh-ux/feature/update-license
chore(*): update license and readme years to 2018.
Latest commit 354c2c6 Jan 2, 2018
Permalink
Failed to load latest commit information.
.github πŸ“š docs(package): update documentation Aug 7, 2017
apiai chore(translations): add it_IT Aug 31, 2017
bots πŸ’„ style(expire): update apiai & translations Aug 29, 2017
config 🀝 merge: merge master into feat_i18n Aug 23, 2017
controllers Update messenger.js Nov 28, 2017
diagnostics πŸ’„ style(cron): beautify display Aug 23, 2017
models ✨ feat(bot): add when will my service expires ? Aug 21, 2017
platforms πŸš‘ fix(controller/web): fix promise in response not resolved Aug 23, 2017
providers πŸ’„ style(mongo): removed useless TODOs Aug 22, 2017
routes 🀝 merge: merge feat_diag_telecom into feat_live_incidents Aug 3, 2017
tools Merge branch 'feat_i18n' of github.com:ovh-ux/ovh-chatbot into feat_l… Aug 29, 2017
translations chore(translations): add it_IT Aug 31, 2017
utils Merge branch 'feat_i18n' of github.com:ovh-ux/ovh-chatbot into feat_l… Aug 29, 2017
views πŸš‘ fix(views): fix missing i18n complience for views Aug 18, 2017
.dockerignore style(*): apply editorconfig rules. May 7, 2017
.editorconfig 🀝 merge: merge feat_diag_telecom into feat_live_incidents Aug 3, 2017
.eslintrc.json refactor: refactor to ovh eslint conf Jun 23, 2017
.gitattributes style(gitattributes): add .gitattributes file. May 7, 2017
.gitignore chore: fix unresolved merge conflict Aug 17, 2017
.travis.yml chore(travis): add travis.yml Jul 12, 2017
CHANGELOG.md chore(bump): update for Release 1.2.0 Aug 30, 2017
CONTRIBUTING.md πŸ“š docs(package): update documentation Aug 7, 2017
Dockerfile doc(INSTALL): change doc for apiai May 18, 2017
FBcover.png feat(chatbot): first commit May 3, 2017
GruntFile.js chore(package): clean dep Aug 18, 2017
INSTALL.md πŸ“š docs(docs): update the intall docs Aug 17, 2017
LICENSE 🚜 chore(*): update license and readme years to 2018. Jan 2, 2018
README.md 🚜 chore(*): update license and readme years to 2018. Jan 2, 2018
docker-compose.yml feat(chatbot): first commit May 3, 2017
index.js πŸš‘ fix(platforms): fix reaching message length limit Aug 22, 2017
package-lock.json 🀝 merge: merge feat_i18n into feat_live_incident Aug 21, 2017
package.json chore(bump): update for Release 1.2.0 Aug 30, 2017
yarn.lock fix(package): delete useless dependency πŸ’„ May 18, 2017

README.md

OVH Chatbot - Node.js

OVH Chatbot Cover Maintenance Gitter travis Commitizen friendly

The main goal of this tool is to help OVH clients in order to have faster responses when you have some problems with OVH services. For example for web hosting you can ask why your website is broken and then this chatbot will find a solution to fix that.

Setup

Visit INSTALL.md to setup and test on Slack or Facebook.

Project overview

  • bots --> Represent all the modules about the bot's answers and it's specific type with an intention already given.
  • config --> The configuration of tools and configuration variables are in this directory.
  • constants --> Represents the constants of the project.
  • controllers --> The controllers contain handler function of an express route.
  • diagnostics --> Contains all the modules for the diagnostics.
  • models --> Contains database models.
  • providers --> Tools used globally in all the project.
  • routes --> Route declarations of the API.
  • platforms --> Contains all the handlers to communicate with different platforms.
  • utils --> Contains all the utilities and API connector to make this chatbot works.
  • views --> Only to display a confirmations page when you logged in with your OVH account

Supported platforms

Facebook Messenger

This project handles callbacks for authentication, messages, delivery confirmation and postbacks. More details are available at the Facebook Documentations.

Slack

This project handles callbacks for authentication, messages and postback actions. More details are available at the Slack Documentations.

Web (OVH managers)

This project handles callbacks messages and postback actions. The authentication is handled by the managers.The bot only checks if the user is logged in or not.

Bot functions

The bot uses api.ai as a language processor.

Responses/Intents

To avoid confusions:

  • Intent: what the user ask to the bot.
  • Response: What the bot respond to an user.

All the intents needing processed responses can be found here.

The intents which doesn't need processed responses (aka: answers to basic questions) are stored in the api.ai database, have a look at the api.ai folder.

This intents and response are translated in:

  • Dutch
  • English (US, CA, GB)
  • French
  • German
  • Italian
  • Portuguese
  • Spanish

Diagnostics

Currently, this bot is able to:

  • diagnose a website
  • diagnose a xDSL line
  • diagnose a land line
  • warn about the expiration of a service
  • warn when an incident happens

More details here

Contributing

Have a look at the Contributing section. If you have any question feel free to discuss about it on our Gitter.

Add a new platform visit this page

Add a new intent and response visit this page

Add a new diagnostic visit this page

Roadmap

  • Refactor to typescript
  • Docker compose
  • Documentation
  • Cloud diagnostics (vps)
  • Order followup
  • Improve conversation skill

License

See https://github.com/ovh-ux/ovh-chatbot/blob/master/LICENSE