K
K
kurtgn2016-05-31 19:40:17
JSON
kurtgn, 2016-05-31 19:40:17

How to describe the communication tree with the bot in json?

I need to develop a format for describing communication with the bot in json, so that later I can feed this json to the engine and run the finished bot.
We do not plan any NLP, just a tree of questions with predefined answers. I dug a little bot frameworks, but everything I found focuses on real speech recognition and creates a maximum of one level of nesting in a conversation (this is what they call "context"). And I need a stupid bot with ready-made questions / answers, but with an unlimited nesting level.
As a result, I think it will be necessary to describe something like a directed cyclic graph with meta-information at each node.
Before reinventing the wheel, I want to know if something similar already exists. If someone came across a similar communication tree format in json, please write links to resources in the comments. I will be grateful.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question