What is best way to setup multi language Luis container

sam 206 Reputation points
2021-06-30T07:39:02.337+00:00

Hi,
I am having requirement to run multi language Luis Docker image. can anyone help me what is the best way to achieve this.

I have created cognitive service in azure westeurop region and referring key and endpoint to below docker cmd.

docker run --rm -it -p 5000:5000 ^
--memory 4g ^
--cpus 2 ^
--mount type=bind,src=c:\input,target=/input ^
--mount type=bind,src=c:\output\,target=/output ^
mcr.microsoft.com/azure-cognitive-services/language/luis ^
Eula=accept ^
Billing={ENDPOINT_URI} ^
ApiKey={API_KEY}

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ramr-msft 17,826 Reputation points
    2021-07-01T10:32:13.5+00:00

    @sam Thanks for the question. Can you please add more details about the use case. You can use Multilanguage chat application with separate LUIS apps for each culture. In order to have single LUIS application, you could use the Translator Text API to translate all incoming messages before they're sent to LUIS. In this case you'll want to use middleware to handle the translation before your LUIS Recognizer is called. You can also use middleware to translate your bot's response so you don't have to use additional localization inside of your bot

    Tokenizing in LUIS is different for each language in LUIS.

    Here is one more sample where you can select a language from the bot and continue the consversation as required.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.