-
Notifications
You must be signed in to change notification settings - Fork 18
/
remove_contact.yml
40 lines (35 loc) · 987 Bytes
/
remove_contact.yml
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
version: "3.1"
intents:
- remove_contact
actions:
- remove_contact
- action_ask_remove_contact_handle
slots:
remove_contact_name:
type: text
mappings:
- type: from_llm
remove_contact_handle:
type: text
mappings:
- type: from_llm
remove_contact_confirmation:
type: text
mappings:
- type: from_llm
responses:
utter_contact_not_in_list:
- text: That contact is not in your list.
utter_remove_contact_error:
- text: Something went wrong, please try again.
utter_remove_contact_success:
- text: Removed {remove_contact_handle}({remove_contact_name}) from your contacts.
utter_ask_remove_contact_confirmation:
- buttons:
- payload: "yes"
title: "Yes"
- payload: "false"
title: "No, cancel the removal"
text: Should I remove {remove_contact_handle} from your contact list?
utter_remove_contact_cancelled:
- text: Okay, I am cancelling this removal of a contact.