question

sanm-7576 avatar image
0 Votes"
sanm-7576 asked shashishailaj rolled back

What is best way to setup multi language Luis container

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-cognitive-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered

@sanm-7576 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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.