My colleagues and I are working on creating a very large application using the Microsoft bot framework and Microsoft LUIS. Essentially, we are trying to create a bot where people from all over the organization can report to the bot (through slack) and receive relevant information. Different types of queries relate to different areas of the subject area (sales, marketing, logistics and R&D). How to combine several LUIS models, entities and entities so that the query does not request every object before getting into the correct object?
Right now, if a user asks: "How much did we spend a year on research?" he first requests the sales entity, then the marketing organization, then the logistics organization, and finally requests the R&D object before he receives a response. I am trying to limit the number of API requests. Currently, I know of three possible solutions that address this routing problem, and none of them rely on LUIS to route to the appropriate object.
Solution 1 includes the inclusion of a bot in the UI selector corresponding to each domain.
Solution 2 includes connecting the NLP library to extract the object from the sentence, and then matching the object using a weighted dictionary library.
Solution 3 involves setting up a clean RegEx. This is my least favorite decision for obvious reasons.
Linking to an enterprise-level reference application using the Microsoft bot framework and Microsoft LUIS would be the perfect answer.
c # azure luis botframework microsoft-cognitive
Gaspare bonventre
source share