It's name is SikeBo You may use this to create a conversational interface.
- Import SQL into your Database (mysql)
- Fill answers.csv
- Import into the table answers
- Copy Files (api.php, config.php, lib/, demo/) to Webserver
- Copy config.php.sample to config.php
- Enter Database Connection Data
- Point Browser to YOURSERVER/demo/
This file is used to write down the answers for the bot in a quick and convenient way. It consists of 4 Columns:
- Keywords
- Example
- Type
- Answer
Comma-Separated. E.g. when,next,service
An Example Sentence to show the user E.G. "When is the next service?"
The Type of Answer:
- text = Simple Text (e.g.
Always on Sunday at 10 a.m.) - db = Database Query (e.g.
SELECT date FROM service ORDER BY date DESC LIMIT 1) - gcal = Google Calendar Query (e.g.
service) - gmaps = give back google map (e.g.
@48.1727585,11.2546478,382m) - http = Get Info from Website (e.g.
http://feg-ffb.de/ueber-uns/unsere-zielvorstellung/) - http-part = Get Part from Website using jquery-syntax (e.g.
http://feg-ffb.de/ueber-uns/faq/|#accordion-1-c1)
The answer, see Type for examples
- demo answers
- database lib
- bot lib
- demo page (bootstrap, jquery, like whatsapp)
- Admin-Interface for Answers