botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Using LUIS the right way ?

Open JpEncausse opened this issue 10 years ago • 9 comments

Hello, We made a large usecase with

  • some regexp to redirect to messages
  • some LUIS Intent to redirect to messages

We have many errors with LUIS

  • It seems small words like "hello, hi, bye, ..." do not fit in LUIS.
  • It seems LUIS likes only very large sentences

So I don't know if I should set some "smart regexp" for small words ?

How do you handle a real life usecase ? Lots of article on ChatBot Magazine said NLU/NLP don't works but I assume there is some tips ?

JpEncausse avatar Aug 31 '16 16:08 JpEncausse

I suggest you create phrase list with the greetings phrases to enhance the performance

CarolHanna avatar Aug 31 '16 19:08 CarolHanna

@CarolHanna do you think that creating a phrase list for "greeting phrases", another for "thank you phrases" and another for "goodbye phrases" to recognise these common intents is a good practice?

palmerabollo avatar Sep 01 '16 09:09 palmerabollo

it will accelerate the learning.

CarolHanna avatar Sep 01 '16 10:09 CarolHanna

You can try using the BestMatchDialog, helps you to handle greetings http://www.garypretty.co.uk/2016/08/01/bestmatchdialog-for-microsoft-bot-framework-now-available-via-nuget/

wolfer001 avatar Sep 01 '16 14:09 wolfer001

Thanks but I'm in NodeJS / Node-RED

Does the BestMatch only use RegExp or does it use advanced features like Soundex / Leveistein Distance

On Thu, Sep 1, 2016 at 4:28 PM, wolfer001 [email protected] wrote:

You can try using the BestMatchDialog, helps you to handle greetings http://www.garypretty.co.uk/2016/08/01/bestmatchdialog- for-microsoft-bot-framework-now-available-via-nuget/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1135#issuecomment-244096223, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFog4PuNbjl8DpMR--gVZPiBpWnpG3Aks5qluD6gaJpZM4JxzK5 .

Jean-Philippe Encausse - R&D / IoT / Innovations http://www.encausse.net - http://arm-avocats.fr Twitter: @JpEncausse - Mob: +33 6 82 12 56 99 Do it Once, Use it Twice ~ Do it Twice, Make It Once

JpEncausse avatar Sep 01 '16 14:09 JpEncausse

Ah I see. And not to sure, @garypretty may be able to help there

wolfer001 avatar Sep 01 '16 21:09 wolfer001

Hi @JpEncausse, were you able to resolve your question?

dandriscoll avatar Sep 17 '16 22:09 dandriscoll

We did a mix of LUIS and Regexp, Soundex/Levenshtein is in the todo. The limit of 20 intents is hard when you want to handle all "generic" intents

On Sun, Sep 18, 2016 at 12:49 AM, dandriscoll [email protected] wrote:

Hi @JpEncausse https://github.com/JpEncausse, were you able to resolve your question?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1135#issuecomment-247812875, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFog9ytlx7gQNxqt-QRn3Mi2tFmFmE1ks5qrG6VgaJpZM4JxzK5 .

Jean-Philippe Encausse - R&D / IoT / Innovations http://www.encausse.net - http://arm-avocats.fr Twitter: @JpEncausse - Mob: +33 6 82 12 56 99 Do it Once, Use it Twice ~ Do it Twice, Make It Once

JpEncausse avatar Sep 18 '16 09:09 JpEncausse

Sounds good. If you have more specific questions, please feel free to open a new issue. Thanks

dandriscoll avatar Sep 19 '16 02:09 dandriscoll