Version: 4.3.x
...
Follow these steps to create the configuation files you will need:
Anchor regularDictionary regularDictionary
1. Creating a Regular Dictionary
regularDictionary | |
regularDictionary |
See also Semantic Parser
Create regular dictionaries in order to store custom words and phrases. A dictionary is there to map user input to expressions, which are later used in Behavior Rules.
a. POST to /regulardictionarystore/regulardictionaries
with an json in the body like this:
...
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
The returned URI is a reference for this specific resource. This recourse will be referenced in the bot definition.
|
2. Anchor behavoirSet behavoirSet
Creating Behavior Rules
behavoirSet | |
behavoirSet |
See also Behavior Rules
Next, create a behavior rule resource to configure the decision making
a. Make a POST to /behaviorstore/behaviorsets
With an json in the body like this:
...
b. You should again get a return code of 201 with an URI in the location header referencing the newly created behavior rules
eddi://ai.labs.behavior/behaviorstore/behaviorsets/<UNIQUE_BEHAVIOR_ID>?version=<BEHAVIOR_VERSION>
e.g. eddi://ai.labs.behavior/behaviorstore/behaviorsets/5a26d8fd17312628b46119fb?version=1
Anchor | ||||
---|---|---|---|---|
|
See also Output Configuration.
...
b. You should again get a return code of 201 with an URI in the location header referencing the newly created output
eddi://ai.labs.output/outputstore/outputsets/<UNIQUE_OUTPUTSET_ID>?version=<OUTPUTSET_VERSION>
e.g. eddi://ai.labs.output/outputstore/outputsets/5a26d97417312628b46119fc?version=1
Anchor | ||||
---|---|---|---|---|
|
Now we will align the just created LifecycleTasks in the Package. Make a POST to /packagestore/packages
...
b. You should again get a return code of 201 with an URI in the location header referencing the newly created package
format eddi://ai.labs.package/packagestore/packages/<UNIQUE_PACKAGE_ID>?version=<PACKAGE_VERSION>
e.g. eddi://ai.labs.package/packagestore/packages/5a2ae60f17312624f8b8a445?version=1
5. Creating a Bot
Make a POST to /botstore/bots
...
b. You should again get a return code of 201 with an URI in the location header referencing the newly created bot
format eddi://ai.labs.bot/botstore/bots/<UNIQUE_BOT_ID>?version=<BOT_VERSION>
e.g. eddi://ai.labs.bot/botstore/bots/5a2ae68a17312624f8b8a446?version=1
6. Launching the Bot
Finally, we are ready to let the bot fly. From here on, you have the possibility to let an UI do it for you or you do it step by step.
...