1st question: Tell me about fees Response from Intent: Tuition fees or transportation fees 2nd question: Tuition fees Response from Intent:Please select Grade 3rd question: Grade1
是否有任何可能的方法来映射第二个问题和第三个问题,如“1年级学费”?
答案 0 :(得分:0)
一种解决方案是使用所需的实体。这就是我解决问题的方法:
我列出了用户可能会说的内容。我还将用户可能会说的实体与我创建的实体进行匹配。
我回答说这个人的选择。您可能想要调用webhook,而不是仅仅重复用户在此处所说的内容。 Here我谈论webhooks。