question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle custom language policies per recognizer type (LUIS/QnA Maker) and for language generation

See original GitHub issue

Use this query to search for the most popular feature requests.

Is your feature request related to a problem? Please describe. When creating multilingual bots with unsupported LUIS locales in Composer the recommended solution is to create a customized language policy and then use a translation middleware. However, it’s pretty easy to have “hand translated” templates that perform much better, from a user language POV, than what can be achieved on-the-fly with a translation middleware.

And it can even become more complicated, because QnA maker supports more locales than LUIS.

The above scenario is relatively easy to solve when creating a code-based bot, because you can create a “MultilanguageTranslatingRecognizer” that can be completely customized. However solving this with Composer has not been possible, mainly because the LanguagePolicy kind of gets in the way. Because a single LanguagePolicy, that applies both to user and bot messages is too restrictive.

Describe the solution you’d like The possibility to define separate language policies per recognizer on one side and another for LG.

Describe alternatives you’ve considered

  • Creating a “TranslatingRecognizer” to replace the standard LUIS recognizer. Result: by the time the recognizer is about to do its job the LUIS app has already been selected as per the language policy.
  • Defining a custom LG policy on the MultiLanguageGenerator produces an error.

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mvelosopcommented, May 26, 2021

You should 've received the invitation already.

1reaction
mvelosopcommented, May 26, 2021

Thanks @carlosscastro just let me know if you need any more info or details 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use NLP with QnA Maker for chat bots - Azure
Language Understanding (LUIS) and QnA Maker provide NLP. The client application submits natural language text. The service takes the text, ...
Read more >
Add language understanding in Bot Framework Composer
Learn how to add language understanding (LUIS) to your bot. LUIS identifies valuable information from user input, interprets user needs, ...
Read more >
Review: Microsoft Azure AI and Machine Learning aims for ...
The Language Understanding service, also called LUIS, allows you to use prebuilt domain language models and to build and use customized language ......
Read more >
Newest 'azure-language-understanding' Questions
I want to get the intent according to the user input in a chatbot and I want to get it using the CLU...
Read more >
Azure Qna Maker multiple languages
QnA Maker supports knowledge base content in many languages. However, each QnA Maker service should be reserved for a single language. The first ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found