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

Commit 915ed9d

Browse files
authored
tutorial for machine-learned entity (#27)
1 parent a324373 commit 915ed9d

File tree

2 files changed

+185
-0
lines changed

2 files changed

+185
-0
lines changed
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
{
2+
"luis_schema_version": "6.0.0",
3+
"intents": [
4+
{
5+
"name": "Confirm",
6+
"features": []
7+
},
8+
{
9+
"name": "Greeting",
10+
"features": []
11+
},
12+
{
13+
"name": "None",
14+
"features": []
15+
},
16+
{
17+
"name": "OrderPizza",
18+
"features": []
19+
}
20+
],
21+
"entities": [],
22+
"hierarchicals": [],
23+
"composites": [],
24+
"closedLists": [],
25+
"prebuiltEntities": [],
26+
"utterances": [
27+
{
28+
"text": "barking dogs are annoying",
29+
"intent": "None",
30+
"entities": []
31+
},
32+
{
33+
"text": "begin",
34+
"intent": "Greeting",
35+
"entities": []
36+
},
37+
{
38+
"text": "can i get a pepperoni pizza and a can of coke please",
39+
"intent": "OrderPizza",
40+
"entities": []
41+
},
42+
{
43+
"text": "can i get a small pizza with onions peppers and olives",
44+
"intent": "OrderPizza",
45+
"entities": []
46+
},
47+
{
48+
"text": "delivery for a small pepperoni pizza",
49+
"intent": "OrderPizza",
50+
"entities": []
51+
},
52+
{
53+
"text": "go ahead",
54+
"intent": "Confirm",
55+
"entities": []
56+
},
57+
{
58+
"text": "hello",
59+
"intent": "Greeting",
60+
"entities": []
61+
},
62+
{
63+
"text": "hey",
64+
"intent": "Greeting",
65+
"entities": []
66+
},
67+
{
68+
"text": "hi",
69+
"intent": "Greeting",
70+
"entities": []
71+
},
72+
{
73+
"text": "i need 2 large cheese pizzas 6 large pepperoni pizzas and 1 large supreme pizza",
74+
"intent": "OrderPizza",
75+
"entities": []
76+
},
77+
{
78+
"text": "ok",
79+
"intent": "Confirm",
80+
"entities": []
81+
},
82+
{
83+
"text": "order a pizza for me",
84+
"intent": "None",
85+
"entities": []
86+
},
87+
{
88+
"text": "penguins in the ocean",
89+
"intent": "None",
90+
"entities": []
91+
},
92+
{
93+
"text": "pickup a cheddar cheese pizza large with extra anchovies",
94+
"intent": "OrderPizza",
95+
"entities": []
96+
},
97+
{
98+
"text": "start",
99+
"intent": "Greeting",
100+
"entities": []
101+
},
102+
{
103+
"text": "sure",
104+
"intent": "Confirm",
105+
"entities": []
106+
},
107+
{
108+
"text": "yes",
109+
"intent": "Confirm",
110+
"entities": []
111+
}
112+
],
113+
"versionId": "0.1",
114+
"name": "Pizza tutorial intents only",
115+
"desc": "",
116+
"culture": "en-us",
117+
"tokenizerVersion": "1.0.0",
118+
"patternAnyEntities": [],
119+
"regex_entities": [],
120+
"phraselists": [],
121+
"regex_features": [],
122+
"patterns": [],
123+
"settings": []
124+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
> LUIS application information
3+
> !# @app.name = Pizza tutorial intents only
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 a pepperoni pizza and a can of coke please
40+
- can i get a small pizza with onions peppers and olives
41+
- delivery for a small pepperoni pizza
42+
- i need 2 large cheese pizzas 6 large pepperoni pizzas and 1 large supreme pizza
43+
- pickup a cheddar cheese pizza large with extra anchovies
44+
45+
46+
@ intent OrderPizza
47+
48+
> # Entity definitions
49+
50+
51+
> # PREBUILT Entity definitions
52+
53+
54+
> # Phrase list definitions
55+
56+
57+
> # List entities
58+
59+
> # RegEx entities
60+
61+

0 commit comments

Comments
 (0)