Bot框架中的节点有多个答案?

时间:2018-07-13 13:41:51

标签: node.js botframework bots luis

我正在使用Microsoft bot框架开发一个bot。为了进行语言处理,我使用Luis,这样我可以以不同的方式提出相同的问题。有没有办法以与下面使用的bot框架不同的方式来回答相同的答案

[
    "Hi, How is it going?",
    "Good"
],
[
    "Hi, How is it going?",
    "Fine"
],
[
    "Hi, How is it going?",
    "Okay"
],
[
    "Hi, How is it going?",
    "Great"
],
[
    "Hi, How is it going?",
    "Could be better."
],
[
    "Hi, How is it going?",
    "Not so great."
]

我正在使用Node.js进行开发

1 个答案:

答案 0 :(得分:0)

它可以像在session.send(["Good","Fine","Okay","Great","Could be better.","Not so great."])中一样传递一系列答案来发送方法