|
| 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 | + { |
| 23 | + "name": "Order", |
| 24 | + "children": [ |
| 25 | + { |
| 26 | + "name": "Size", |
| 27 | + "children": [], |
| 28 | + "features": [ |
| 29 | + { |
| 30 | + "featureName": "SizeDescriptor" |
| 31 | + } |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "name": "Quantity", |
| 36 | + "instanceOf": "number", |
| 37 | + "children": [], |
| 38 | + "features": [] |
| 39 | + } |
| 40 | + ], |
| 41 | + "roles": [], |
| 42 | + "features": [] |
| 43 | + } |
| 44 | + ], |
| 45 | + "hierarchicals": [], |
| 46 | + "composites": [], |
| 47 | + "closedLists": [], |
| 48 | + "prebuiltEntities": [ |
| 49 | + { |
| 50 | + "name": "number", |
| 51 | + "roles": [] |
| 52 | + } |
| 53 | + ], |
| 54 | + "utterances": [ |
| 55 | + { |
| 56 | + "text": "barking dogs are annoying", |
| 57 | + "intent": "None", |
| 58 | + "entities": [] |
| 59 | + }, |
| 60 | + { |
| 61 | + "text": "begin", |
| 62 | + "intent": "Greeting", |
| 63 | + "entities": [] |
| 64 | + }, |
| 65 | + { |
| 66 | + "text": "can i get a pepperoni pizza and a can of coke please", |
| 67 | + "intent": "OrderPizza", |
| 68 | + "entities": [ |
| 69 | + { |
| 70 | + "entity": "Order", |
| 71 | + "startPos": 10, |
| 72 | + "endPos": 44 |
| 73 | + } |
| 74 | + ] |
| 75 | + }, |
| 76 | + { |
| 77 | + "text": "can i get a small pizza with onions peppers and olives", |
| 78 | + "intent": "OrderPizza", |
| 79 | + "entities": [ |
| 80 | + { |
| 81 | + "entity": "Size", |
| 82 | + "startPos": 12, |
| 83 | + "endPos": 16 |
| 84 | + }, |
| 85 | + { |
| 86 | + "entity": "Order", |
| 87 | + "startPos": 12, |
| 88 | + "endPos": 53 |
| 89 | + } |
| 90 | + ] |
| 91 | + }, |
| 92 | + { |
| 93 | + "text": "delivery for a small pepperoni pizza", |
| 94 | + "intent": "OrderPizza", |
| 95 | + "entities": [ |
| 96 | + { |
| 97 | + "entity": "Size", |
| 98 | + "startPos": 15, |
| 99 | + "endPos": 19 |
| 100 | + }, |
| 101 | + { |
| 102 | + "entity": "Order", |
| 103 | + "startPos": 15, |
| 104 | + "endPos": 35 |
| 105 | + } |
| 106 | + ] |
| 107 | + }, |
| 108 | + { |
| 109 | + "text": "go ahead", |
| 110 | + "intent": "Confirm", |
| 111 | + "entities": [] |
| 112 | + }, |
| 113 | + { |
| 114 | + "text": "hello", |
| 115 | + "intent": "Greeting", |
| 116 | + "entities": [] |
| 117 | + }, |
| 118 | + { |
| 119 | + "text": "hey", |
| 120 | + "intent": "Greeting", |
| 121 | + "entities": [] |
| 122 | + }, |
| 123 | + { |
| 124 | + "text": "hi", |
| 125 | + "intent": "Greeting", |
| 126 | + "entities": [] |
| 127 | + }, |
| 128 | + { |
| 129 | + "text": "i need 2 large cheese pizzas 6 large pepperoni pizzas and 1 large supreme pizza", |
| 130 | + "intent": "OrderPizza", |
| 131 | + "entities": [ |
| 132 | + { |
| 133 | + "entity": "Quantity", |
| 134 | + "startPos": 7, |
| 135 | + "endPos": 7 |
| 136 | + }, |
| 137 | + { |
| 138 | + "entity": "Order", |
| 139 | + "startPos": 7, |
| 140 | + "endPos": 78 |
| 141 | + }, |
| 142 | + { |
| 143 | + "entity": "Size", |
| 144 | + "startPos": 9, |
| 145 | + "endPos": 13 |
| 146 | + }, |
| 147 | + { |
| 148 | + "entity": "Quantity", |
| 149 | + "startPos": 29, |
| 150 | + "endPos": 29 |
| 151 | + }, |
| 152 | + { |
| 153 | + "entity": "Size", |
| 154 | + "startPos": 31, |
| 155 | + "endPos": 35 |
| 156 | + }, |
| 157 | + { |
| 158 | + "entity": "Quantity", |
| 159 | + "startPos": 58, |
| 160 | + "endPos": 58 |
| 161 | + }, |
| 162 | + { |
| 163 | + "entity": "Size", |
| 164 | + "startPos": 60, |
| 165 | + "endPos": 64 |
| 166 | + } |
| 167 | + ] |
| 168 | + }, |
| 169 | + { |
| 170 | + "text": "ok", |
| 171 | + "intent": "Confirm", |
| 172 | + "entities": [] |
| 173 | + }, |
| 174 | + { |
| 175 | + "text": "order a pizza for me", |
| 176 | + "intent": "None", |
| 177 | + "entities": [] |
| 178 | + }, |
| 179 | + { |
| 180 | + "text": "penguins in the ocean", |
| 181 | + "intent": "None", |
| 182 | + "entities": [] |
| 183 | + }, |
| 184 | + { |
| 185 | + "text": "pickup a cheddar cheese pizza large with extra anchovies", |
| 186 | + "intent": "OrderPizza", |
| 187 | + "entities": [ |
| 188 | + { |
| 189 | + "entity": "Order", |
| 190 | + "startPos": 0, |
| 191 | + "endPos": 55 |
| 192 | + }, |
| 193 | + { |
| 194 | + "entity": "Size", |
| 195 | + "startPos": 30, |
| 196 | + "endPos": 34 |
| 197 | + } |
| 198 | + ] |
| 199 | + }, |
| 200 | + { |
| 201 | + "text": "pickup xl meat lovers pizza", |
| 202 | + "intent": "OrderPizza", |
| 203 | + "entities": [ |
| 204 | + { |
| 205 | + "entity": "Size", |
| 206 | + "startPos": 7, |
| 207 | + "endPos": 8 |
| 208 | + }, |
| 209 | + { |
| 210 | + "entity": "Order", |
| 211 | + "startPos": 7, |
| 212 | + "endPos": 26 |
| 213 | + } |
| 214 | + ] |
| 215 | + }, |
| 216 | + { |
| 217 | + "text": "start", |
| 218 | + "intent": "Greeting", |
| 219 | + "entities": [] |
| 220 | + }, |
| 221 | + { |
| 222 | + "text": "sure", |
| 223 | + "intent": "Confirm", |
| 224 | + "entities": [] |
| 225 | + }, |
| 226 | + { |
| 227 | + "text": "yes", |
| 228 | + "intent": "Confirm", |
| 229 | + "entities": [] |
| 230 | + } |
| 231 | + ], |
| 232 | + "versionId": "0.1", |
| 233 | + "name": "Pizza tutorial with entities", |
| 234 | + "desc": "", |
| 235 | + "culture": "en-us", |
| 236 | + "tokenizerVersion": "1.0.0", |
| 237 | + "patternAnyEntities": [], |
| 238 | + "regex_entities": [], |
| 239 | + "phraselists": [ |
| 240 | + { |
| 241 | + "name": "SizeDescriptor", |
| 242 | + "mode": true, |
| 243 | + "words": "small,medium,large,extra large,xl", |
| 244 | + "activated": true, |
| 245 | + "enabledForAllModels": false |
| 246 | + } |
| 247 | + ], |
| 248 | + "regex_features": [], |
| 249 | + "patterns": [], |
| 250 | + "settings": [] |
| 251 | +} |
0 commit comments