Chatbot API
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
In the era of Chatbots and Personal Assistants like Alexa, Dialogflow (ex Api.AI), Google Home, Wit.ai & Co. this module tries to create common layer serving Drupal content to any of these services.
In a common Drupal 'headless' scenario you want to serve the content of your website through as many service as possible, including but not limiting to Amazon Echo, a Facebook bot, custom devices using Dialogflow, etc.
Normally you will require separated custom pieces of code for every chatbot/personal assistant platform protocol, duplicating effort and points of failure.
Using Chatbot API you write your code once without caring about handling the requests and responses.
Chatbot API by itself doesn't do anything. You should install it only if another module asks for it or you want to build your own integration driver.
Currently the following platforms are supported:
- Alexa, by using the internal
chatbot_api_alexasubmodule together with the Alexa module. - Dialogflow, by using the internal
chatbot_api_aisubmodule together with the Dialogflow Webhook module
More integrations are coming. Also if you've written a driver or an useful plugin let us know!
Version 1.0 Roadmap
- Chatbot Intents as Plugins, where the plugin ID is the Intent name, simplifying coding and discovery of your Intents. Also being remote platform agnostic allows you to use the same Intent with multiple services. [completed]
- The custom drupal console command facilitates the generation of new Intent plugins.[completed]
- The Views integration will let you build a View of your content, iterate through it from your device and be able to select one content to 'know more'. [completed (basic)]
A Chatbot display mode will help you render the content in chatbot friendly way (i.e. no markup, restricted amount of charatcers, display-able in a screen device).[postponed]- Support pushing entities as a collection to remote endpoints so that they can resolve them as slots in their parsing [completed]. Provided by the sub-module chatbot_api_entities
Get Started
The best way to start is by reading the documentation.
If you want to know how to integrate a remote service have a look at one of the chatbot_api_* submodules.
