This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create pizza-tutorials-with-entities.lu
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
72 changes: 72 additions & 0 deletions
72
documentation-samples/tutorials/machine-learned-entity/pizza-tutorials-with-entities.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,72 @@ | ||
|
||
> LUIS application information | ||
> !# @app.name = Pizza tutorial with entities | ||
> !# @app.versionId = 0.1 | ||
> !# @app.culture = en-us | ||
> !# @app.luis_schema_version = 6.0.0 | ||
|
||
|
||
> # Intent definitions | ||
|
||
## Confirm | ||
- go ahead | ||
- ok | ||
- sure | ||
- yes | ||
|
||
|
||
@ intent Confirm | ||
|
||
## Greeting | ||
- begin | ||
- hello | ||
- hey | ||
- hi | ||
- start | ||
|
||
|
||
@ intent Greeting | ||
|
||
## None | ||
- barking dogs are annoying | ||
- order a pizza for me | ||
- penguins in the ocean | ||
|
||
|
||
@ intent None | ||
|
||
## OrderPizza | ||
- can i get {@Order=a pepperoni pizza and a can of coke} please | ||
- can i get a {@Order={@Size=small} pizza with onions peppers and olives} | ||
- delivery for a {@Order={@Size=small} pepperoni pizza} | ||
- i need {@Order={@Quantity=2} {@Size=large} cheese pizzas {@Quantity=6} {@Size=large} pepperoni pizzas and {@Quantity=1} {@Size=large} supreme pizza} | ||
- {@Order=pickup a cheddar cheese pizza {@Size=large} with extra anchovies} | ||
- pickup {@Order={@Size=xl} meat lovers pizza} | ||
|
||
|
||
@ intent OrderPizza | ||
|
||
> # Entity definitions | ||
|
||
@ ml Order | ||
- @ ml Size usesFeature SizeDescriptor | ||
- @ number Quantity | ||
|
||
|
||
|
||
> # PREBUILT Entity definitions | ||
|
||
@ prebuilt number | ||
|
||
|
||
> # Phrase list definitions | ||
|
||
@ phraselist SizeDescriptor(interchangeable) = | ||
- small,medium,large,extra large,xl | ||
|
||
|
||
> # List entities | ||
|
||
> # RegEx entities | ||
|
||
|