Creating your first Chatbots
Last updated
Last updated
Prerequisites: Up and Running instance of EDDI (see: Getting started)
In order to build a Chatbot with EDDI, you will have to create a few configuration files and POST
them to the corresponding REST APIs.
A chatbot can consists of the following elements:
(Regular) Dictionary
to define the inputs from the users as well as their meanings in respective categories, expressed by a expression language e.g. apple -> fruit(apple)
Behavior Rules
triggering actions based on execution of behavior rules checking on certain conditions within the current conversation
Http Connector
requests/sends data to a Rest API and makes the json response available within the conversation (e.g for Output)
Output
to answer the user's request based on actions triggered by behavior rules
Package
to define which `LifecycleTasks` (such as the parser, behavior rules, rest api connector, output generation, ...) should be executed in order by how they are defined
Bot
to define which packages should be executed in this bot
eddi://ai.labs.regulardictionary/regulardictionarystore/regulardictionaries/ID?version=VERSION
eddi://
URI resources starting with this protocol are to be related with in EDDI
ai.labs.regulardictionary
Type of resource
/regulardictionarystore/regulardictionaries
API path
ID
ID of the resources
VERSION
Read-only version of the resource (each change is a new version)
Version of this resource (each update operation will create a new version of the resource)