You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
You can use the available validate() function to verify if the parsed LUIS object is valid. This helps catch name conflicts, invalid labelled utterances etc.
You can take advantage of the [Microsoft text translation API](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/) to automatically machine translate .lu files to one or more than [60+ languages](https://aka.ms/translate-langs) supported by the Microsoft text translation cognitive service.
78
+
79
+
To translate lu file content, you can simply use the translate() method in the LU class. Here's a code snippet.
80
+
81
+
```js
82
+
constLU=require('@microsoft/bf-lu').V2.LU
83
+
constluContent=`# Greeting
84
+
- hi
85
+
$userName:first=
86
+
-vishwac`;
87
+
consttargetLanguage='de';
88
+
constsubscriptionKey='<YOUR TEXT TRANSLATION KEY>';
You can use the available validate() function to verify if the parsed LUIS object is valid. This helps catch name conflicts, invalid labelled utterances etc.
You can take advantage of the [Microsoft text translation API](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/) to automatically machine translate .lu files to one or more than [60+ languages](https://aka.ms/translate-langs) supported by the Microsoft text translation cognitive service.
222
-
223
-
To translate lu file content, you can simply use the translate() method in the LU class. Here's a code snippet.
224
-
225
-
```js
226
-
constLU=require('@microsoft/bf-lu').V2.LU
227
-
constluContent=`# Greeting
228
-
- hi
229
-
$userName:first=
230
-
-vishwac`;
231
-
consttargetLanguage='de';
232
-
constsubscriptionKey='<YOUR TEXT TRANSLATION KEY>';
0 commit comments