Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 0296875

Browse files
authored
Create pizza-tutorials-with-entities.lu
1 parent ece6122 commit 0296875

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
2+
> LUIS application information
3+
> !# @app.name = Pizza tutorial with entities
4+
> !# @app.versionId = 0.1
5+
> !# @app.culture = en-us
6+
> !# @app.luis_schema_version = 6.0.0
7+
8+
9+
> # Intent definitions
10+
11+
## Confirm
12+
- go ahead
13+
- ok
14+
- sure
15+
- yes
16+
17+
18+
@ intent Confirm
19+
20+
## Greeting
21+
- begin
22+
- hello
23+
- hey
24+
- hi
25+
- start
26+
27+
28+
@ intent Greeting
29+
30+
## None
31+
- barking dogs are annoying
32+
- order a pizza for me
33+
- penguins in the ocean
34+
35+
36+
@ intent None
37+
38+
## OrderPizza
39+
- can i get {@Order=a pepperoni pizza and a can of coke} please
40+
- can i get a {@Order={@Size=small} pizza with onions peppers and olives}
41+
- delivery for a {@Order={@Size=small} pepperoni pizza}
42+
- i need {@Order={@Quantity=2} {@Size=large} cheese pizzas {@Quantity=6} {@Size=large} pepperoni pizzas and {@Quantity=1} {@Size=large} supreme pizza}
43+
- {@Order=pickup a cheddar cheese pizza {@Size=large} with extra anchovies}
44+
- pickup {@Order={@Size=xl} meat lovers pizza}
45+
46+
47+
@ intent OrderPizza
48+
49+
> # Entity definitions
50+
51+
@ ml Order
52+
- @ ml Size usesFeature SizeDescriptor
53+
- @ number Quantity
54+
55+
56+
57+
> # PREBUILT Entity definitions
58+
59+
@ prebuilt number
60+
61+
62+
> # Phrase list definitions
63+
64+
@ phraselist SizeDescriptor(interchangeable) =
65+
- small,medium,large,extra large,xl
66+
67+
68+
> # List entities
69+
70+
> # RegEx entities
71+
72+

0 commit comments

Comments
 (0)