-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a93b22
commit 48b85c6
Showing
4 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/lu/test/fixtures/testcases/v6WithoutPhraseLists.lu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
> !# @app.name = test app | ||
> !# @app.desc = test | ||
> !# @app.versionId = 0.1 | ||
> !# @app.culture = en-us | ||
|
||
# test | ||
- one | ||
- two | ||
|
||
@ ml address = | ||
- @ number doorNumber | ||
- @ ml streetName | ||
- @ geographyV2 city | ||
- @ zipRegex zipcode | ||
|
||
@ prebuilt number | ||
@ prebuilt geographyV2 | ||
@ regex zipRegex = /[0-9]{5}/ |
75 changes: 75 additions & 0 deletions
75
packages/lu/test/fixtures/verified/v6WithoutPhraseLists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"intents": [ | ||
{ | ||
"name": "test" | ||
} | ||
], | ||
"entities": [ | ||
{ | ||
"name": "address", | ||
"roles": [], | ||
"children": [ | ||
{ | ||
"name": "doorNumber", | ||
"instanceOf": "number", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "streetName", | ||
"instanceOf": null, | ||
"children": [] | ||
}, | ||
{ | ||
"name": "city", | ||
"instanceOf": "geographyV2", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "zipcode", | ||
"instanceOf": "zipRegex", | ||
"children": [] | ||
} | ||
] | ||
} | ||
], | ||
"composites": [], | ||
"closedLists": [], | ||
"regex_entities": [ | ||
{ | ||
"name": "zipRegex", | ||
"regexPattern": "[0-9]{5}", | ||
"roles": [] | ||
} | ||
], | ||
"regex_features": [], | ||
"utterances": [ | ||
{ | ||
"text": "one", | ||
"intent": "test", | ||
"entities": [] | ||
}, | ||
{ | ||
"text": "two", | ||
"intent": "test", | ||
"entities": [] | ||
} | ||
], | ||
"patterns": [], | ||
"patternAnyEntities": [], | ||
"prebuiltEntities": [ | ||
{ | ||
"name": "number", | ||
"roles": [] | ||
}, | ||
{ | ||
"name": "geographyV2", | ||
"roles": [] | ||
} | ||
], | ||
"name": "test app", | ||
"desc": "test", | ||
"versionId": "0.1", | ||
"culture": "en-us", | ||
"luis_schema_version": "6.0.0", | ||
"phraselists": [] | ||
} |