2017-08-22 44 views
1

我有一个JSON决策树。JSON到API.AI或Wit.AI

现在,我在我的网站流中使用该JSON树。

树有类似下面

{ "id": 1, "name": "Select the vehicle type", "children": [{ "id": "2", "name": "Show the Cars", "parent": "1", "children": [{ "id": 3, "name": "BMW", "parent": 2 }] }] }

的结构现在,我想用树,并转换为使用API.AIWit.AI自然语言处理流程。

我该怎么做?有没有一种工具可以做到这一点?或者唯一的办法是手动重新创建流程?

回答