How to hook Luis into a Bot Framework FormDialog

后端 未结 2 806
长情又很酷
长情又很酷 2021-02-15 18:22

I have a Dialog class which is a FormDialog (say, FormDialog< SandwichOrder>; one which builds an order for a sandwich, as per the bot framework documentation website). The S

2条回答
  •  鱼传尺愫
    2021-02-15 18:32

    Currently it is not possible to call a Dialog in a form field step. But you can have your custom implementation of IRecognize for a Field in the form (in this case "Price") and in the IEnumerable Matches(string input, object defaultValue = null) implementation call into your Luis model and return all the possible TermMatches based on the detected entities by Luis.

提交回复
热议问题