Node.js WebChat的行为是否与Emulator不同?

Node.js WebChat的行为是否与Emulator不同?,node.js,botframework,azure-language-understanding,Node.js,Botframework,Azure Language Understanding,希望这是一个相当直截了当的问题 BotBuilder仿真器的行为是否与WebChat不同?例如,我当前使用以下代码片段欢迎用户并立即将他们引导到对话框中: bot.on('conversationUpdate', function (message) { if (message.membersAdded) { message.membersAdded.forEach(function (identity) { if (identity.id === messa

希望这是一个相当直截了当的问题

BotBuilder仿真器的行为是否与WebChat不同?例如,我当前使用以下代码片段欢迎用户并立即将他们引导到对话框中:

bot.on('conversationUpdate', function (message) {
    if (message.membersAdded) {
      message.membersAdded.forEach(function (identity) {
        if (identity.id === message.address.bot.id) {
          var msg = new builder.Message()
            .address(message.address)
            .text('Hi, I\'m ChatBot. Let\'s get your number activated!')
          bot.send(msg)
          setTimeout(() => {
            bot.beginDialog(message.address, 'ActivateNumber:/')
          }, 1000)
        }
      })
    }
  })
该对话框向用户提供一个选择提示,以指导用户获取相关信息。emulator和WebChat都能完美地显示此提示。当用户单击一个选择按钮时,仿真器会按预期将结果传递给瀑布中的下一个函数,然而,WebChat似乎试图将此值传递给IntentDialog并查询LUIS。这几乎就像WebChat出于某种原因离开了对话框(代码如下所示):


有没有关于这可能是什么原因的想法?

这有帮助吗?谢谢@EzequielJadib。明天就试试这个@我恐怕在这方面没有运气。我已经剥离了与路易斯有关的所有内容,出于某种原因,对选择提示的响应现在正试图返回到“/”对话框。
lib.dialog('/', [
  function (session, args) {
    builder.Prompts.choice(session, 'OK, which of these best describes you?', ['Testing', 'Testing', 'Testing', 'Testing'], {listStyle: builder.ListStyle.button})
  },
  function (session, results, next) {
    console.log(results)
  }
])