Blocks
In the J-Graph visual editor, the bot business logic is built upon states. Blocks are the elements which describe the user and bot behavior in the context of states.
There are three types of blocks:
- Triggers — patterns, intents, and events which can initiate a dialog transition to the appropriate state.
- Reactions — actions performed by the bot when the appropriate state is triggered.
- Expected paths — patterns, intents, and events which can initiate a dialog transition to other states.
All blocks in J-Graph correspond to specific JAICP DSL tags. Refer to the documentation on the relevant tag to better understand how any given block works.
Actions form a specific subtype of reactions. In contrast to other blocks, they correspond to JAICP DSL custom tags rather than their regular counterparts.