Scenario

The scenario in BotTalk is described as a set of YAML files that are located in the following secions of the editor:

Scenario — includes the basic information about the scenario like its name and the language, as well as the main logic or, as some may call it, dialog flow.

Intents — includes the list of intents and their utterances used by the scenario.

Slots — includes the list of slots that are part of the utterances.

Tests - includes the custom tests, where the user might want to describe mission-critical dialog flow paths.

There are pretty strict rules in YAML markup, but it helps to write well-defined, high-dynamic, predictable scenarios.

Because the files in the editor are simple text documents, they can be exported to your favourite Version Control System (i.e. git) to track the changes or work on the same scenario simultaniosly.

You can then text and deploy your scenario directly from the terminal using BotTalk Command Line Iterface.


Written by Andrey Esaulov on 12 March 2019

Updated on 12 March 2019


Table of contents