Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 26bba1f

Browse files
Chris McConnellninggao
authored andcommitted
Explicitly generate LUIS recognizer to support getting (#418)
$instance.
1 parent e273974 commit 26bba1f

File tree

4 files changed

+45
-1
lines changed

4 files changed

+45
-1
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,24 @@
161161
"https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/chrimc/map/schemas/sdk.schema"
162162
],
163163
"internalConsoleOptions": "openOnSessionStart"
164+
},
165+
{
166+
"type": "node",
167+
"request": "launch",
168+
"name": "LUBuild",
169+
"preLaunchTask": "${defaultBuildTask}",
170+
"program": "${workspaceFolder}/packages/lu/bin/run",
171+
"outFiles": [
172+
"./packages/lu/lib/**"
173+
],
174+
"args": [
175+
"luis:convert",
176+
"--in",
177+
"${env:TEMP}/sandwich.out/en-us/sandwich.en-us.lu",
178+
"--out",
179+
"${env:TEMP}/sandwich.en-us.lu"
180+
],
181+
"internalConsoleOptions": "openOnSessionStart"
164182
}
165183
]
166184
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# filename
2+
- @{schemaName}.@{locale}.lu.dialog
3+
4+
# template
5+
-```
6+
{
7+
"$schema": "@{appSchema}",
8+
"$kind": "Microsoft.LuisRecognizer",
9+
"applicationId": "@{lu()}",
10+
"endpoint": "@{endpoint()}",
11+
"endpointKey": "@{endpointKey()}",
12+
"predictionOptions": {
13+
"includeInstanceData": true
14+
}
15+
}
16+
```
17+
18+
# lu
19+
- \{settings.luis.@{schemaName}_@{locale}_lu\}
20+
21+
# endpoint
22+
- \{settings.luis.endpoint\}
23+
24+
# endpointKey
25+
- \{settings.luis.endpointKey\}

packages/dialog/templates/standard.schema

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"triggerIntent.lu",
4545
"locale.lu",
4646
"locale.lg",
47+
"luis.lu",
4748
"BeginDialog.dialog",
4849
"ChooseProperty.dialog",
4950
"HelpIntent.dialog",

packages/dialog/test/commands/dialog/genCopy.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ xcopy /s * %outdir%
2525

2626
if "%dobuild%" NEQ "yes" goto pop
2727
cd %outdir%
28-
call lubuild --dialogs
28+
call lubuild
2929

3030
:pop
3131
popd

0 commit comments

Comments
 (0)