This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 262
/
10.lu
72 lines (54 loc) · 1.45 KB
/
10.lu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Greeting
- Hi
- Hello
- Good morning
- Good evening
# Help
- help
- I need help
- please help
# AskForUserName
- {userName=vishwac}
- I'm {userName=vishwac}
- call me {userName=vishwac}
- my name is {userName=vishwac}
- {userName=vishwac} is my name
- you can call me {userName=vishwac}
> # Entity definitions
$userName:simple
> PREBUILT entities are global. LUIS will always provide results for these when ever a prebuilt entity is found in any utterance.
$PREBUILT:datetimeV2
# CreateAlarm
- create an alarm
- create an alarm for 7AM
- set an alarm for 7AM next thursday
> add these as patterns
# DeleteAlarm
> this utterance will be added as a pattern since there is no labelled value for the alarmTime entity
- delete the {alarmTime} alarm
- remove the {alarmTime} alarm
> Since there is a list entity definition, any synonyms in this list will get picked up as list entity type and should not be labelled
# CommunicationPreference
- set phone call as my communication preference
- I prefer to receive text message
> List entity definition
$commPreference:call=
- phone call
- give me a ring
- ring
- call
- cell phone
- phone
# Help
- can you help
> you can break up list entity definitions into multiple chunks, interleaved within a .lu file or even spread across .lu files.
$commPreference:text=
- message
- text
- sms
- text message
$commPreference:fax=
- fax
- fascimile
> You can have references to external .lu files
[None intent definition](./none.lu)