-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdomain.yml
executable file
·77 lines (66 loc) · 1.47 KB
/
domain.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
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
73
74
75
76
77
version: "3.1"
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- give_option
actions:
- action_handle_options
- action_handle_pytorch
- action_handle_tensorflow
- action_handle_deeplearning4j
- action_handle_cntk
- action_handle_keras
- action_handle_onnx
- action_handle_mxnet
- action_handle_caffe
entities:
- option
slots:
option:
type: text
mappings:
- type: from_entity
entity: option
# tracking in what submenu the user curtently is
# this slot is only used in custom actions and is not related to any entity
submenu:
type: text
initial_value: "main"
influence_conversation: false
mappings:
- type: custom
suboption:
type: text
influence_conversation: false
mappings:
- type: custom
responses:
utter_greet:
- text: "Hello! I'm NumMenu, your numbered-based menu bot. Choose your favorite Deep Learning Framework:\n
1. PyTorch 🔥\n
2. TensorFlow 🌊\n
3. DeepLearning4J ☕️\n
4. CNTK 🧠\n
5. Keras 🔗\n
6. ONNX 🌐\n
7. MXNET 🎛️\n
8. Caffe ⚡️\n"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true