瀏覽代碼

Upload files to 'chatbot/data'

SadhulaSaiKumar 2 年之前
父節點
當前提交
edb4464ea9
共有 3 個檔案被更改,包括 267 行新增0 行删除
  1. 126
    0
      chatbot/data/nlu.yml
  2. 53
    0
      chatbot/data/rules.yml
  3. 88
    0
      chatbot/data/stories.yml

+ 126
- 0
chatbot/data/nlu.yml 查看文件

@@ -0,0 +1,126 @@
1
+version: "3.1"
2
+
3
+nlu:
4
+- intent: greet
5
+  examples: |
6
+    - hey
7
+    - hello
8
+    - hi
9
+    - hello there
10
+    - good morning
11
+    - good evening
12
+    - moin
13
+    - hey there
14
+    - let's go
15
+    - hey dude
16
+    - goodmorning
17
+    - goodevening
18
+    - good afternoon
19
+
20
+- intent: goodbye
21
+  examples: |
22
+    - cu
23
+    - good by
24
+    - cee you later
25
+    - good night
26
+    - bye
27
+    - goodbye
28
+    - have a nice day
29
+    - see you around
30
+    - bye bye
31
+    - see you later
32
+
33
+- intent: affirm
34
+  examples: |
35
+    - yes
36
+    - y
37
+    - indeed
38
+    - of course
39
+    - that sounds good
40
+    - correct
41
+
42
+- intent: deny
43
+  examples: |
44
+    - no
45
+    - n
46
+    - never
47
+    - I don't think so
48
+    - don't like that
49
+    - no way
50
+    - not really
51
+
52
+- intent: mood_great
53
+  examples: |
54
+    - perfect
55
+    - great
56
+    - amazing
57
+    - feeling like a king
58
+    - wonderful
59
+    - I am feeling very good
60
+    - I am great
61
+    - I am amazing
62
+    - I am going to save the world
63
+    - super stoked
64
+    - extremely good
65
+    - so so perfect
66
+    - so good
67
+    - so perfect
68
+
69
+- intent: mood_unhappy
70
+  examples: |
71
+    - my day was horrible
72
+    - I am sad
73
+    - I don't feel very well
74
+    - I am disappointed
75
+    - super sad
76
+    - I'm so sad
77
+    - sad
78
+    - very sad
79
+    - unhappy
80
+    - not good
81
+    - not very good
82
+    - extremly sad
83
+    - so saad
84
+    - so sad
85
+
86
+- intent: bot_challenge
87
+  examples: |
88
+    - are you a bot?
89
+    - are you a human?
90
+    - am I talking to a bot?
91
+    - am I talking to a human?
92
+
93
+- intent: question1
94
+  examples: |
95
+   - "The tagging between DSRs cannot be changed"
96
+   - "Changing the tagging between DSRs is not allowed."
97
+   - "There is no way to modify the tagging between DSRs."
98
+
99
+
100
+- intent: question3
101
+  examples: |
102
+   - "nan"
103
+   - "nan"
104
+   - "The sales graph in DMS is only presenting the total sales and is not displaying the party-wise graph. Additionally, other graphs only exhibit customer codes, not their names. Kindly rectify this problem."
105
+
106
+
107
+- intent: question4
108
+  examples: |
109
+   - "Regarding the customer E.B. Taiging and purchase invoice, could you please provide more information?"
110
+   - "Can you please give me further details on the customer E.B. Taiging and purchase invoice?"
111
+   - "I need more information about the customer E.B. Taiging and purchase invoice. Could you please help me with that?"
112
+
113
+
114
+- intent: question5
115
+  examples: |
116
+   - "We have created the DC and tagged the EB today, but the volume is not being shown. Kindly rectify this issue as soon as possible."
117
+   - "Regarding the DC and EB tagging, we have completed the process today. However, the volume is not visible. Please fix this issue as soon as you can."
118
+   - "We have successfully created the DC and tagged the EB today. However, the volume is not showing up. We kindly request you to rectify this issue as soon as possible."
119
+
120
+
121
+- intent: question6
122
+  examples: |
123
+   - "In my login, I am unable to select the Madurai branch from where I have billed materials as I belong to the Trichy branch. Could you please help me resolve this issue?"
124
+   - "I am from Trichy branch, and I have billed materials from Madurai branch. However, I am unable to select the Madurai branch in my login. Can you please assist me in resolving this issue?"
125
+   - "The Madurai branch is where I billed the materials from, but I belong to the Trichy branch, and I am unable to select it in my login. Could you please provide me with a solution to this issue?"
126
+

+ 53
- 0
chatbot/data/rules.yml 查看文件

@@ -0,0 +1,53 @@
1
+version: "3.1"
2
+
3
+rules:
4
+
5
+- rule: Say goodbye anytime the user says goodbye
6
+  steps:
7
+  - intent: goodbye
8
+  - action: utter_goodbye
9
+
10
+- rule: Say 'I am a bot' anytime the user challenges
11
+  steps:
12
+  - intent: bot_challenge
13
+  - action: utter_iamabot
14
+ 
15
+- rule: Ticketquestion1
16
+  steps:
17
+  - intent: question1
18
+  - action: utter_question1_1  
19
+  - action: utter_question1_2  
20
+  - action: utter_question1_3
21
+  - action: action_service
22
+ 
23
+- rule: Ticketquestion3
24
+  steps:
25
+  - intent: question3
26
+  - action: utter_question3_1  
27
+  - action: utter_question3_2  
28
+  - action: utter_question3_3
29
+  - action: action_service
30
+ 
31
+- rule: Ticketquestion4
32
+  steps:
33
+  - intent: question4
34
+  - action: utter_question4_1  
35
+  - action: utter_question4_2  
36
+  - action: utter_question4_3
37
+  - action: action_service
38
+ 
39
+- rule: Ticketquestion5
40
+  steps:
41
+  - intent: question5
42
+  - action: utter_question5_1  
43
+  - action: utter_question5_2  
44
+  - action: utter_question5_3
45
+  - action: action_service
46
+ 
47
+- rule: Ticketquestion6
48
+  steps:
49
+  - intent: question6
50
+  - action: utter_question6_1  
51
+  - action: utter_question6_2  
52
+  - action: utter_question6_3
53
+  - action: action_service

+ 88
- 0
chatbot/data/stories.yml 查看文件

@@ -0,0 +1,88 @@
1
+version: "3.1"
2
+
3
+stories:
4
+
5
+- story: happy path
6
+  steps:
7
+  - intent: greet
8
+  - action: utter_greet
9
+  - intent: mood_great
10
+  - action: utter_happy
11
+
12
+- story: sad path 1
13
+  steps:
14
+  - intent: greet
15
+  - action: utter_greet
16
+  - intent: mood_unhappy
17
+  - action: utter_cheer_up
18
+  - action: utter_did_that_help
19
+  - intent: affirm
20
+  - action: utter_happy
21
+  - action: action_service
22
+
23
+
24
+
25
+- story: sad path 2
26
+  steps:
27
+  - intent: greet
28
+  - action: utter_greet
29
+  - intent: mood_unhappy
30
+  - action: utter_cheer_up
31
+  - action: utter_did_that_help
32
+  - intent: deny
33
+  - action: utter_goodbye
34
+  - action: action_service
35
+
36
+
37
+- story: sad path 3
38
+  steps:
39
+  - intent: connect_support
40
+  - action: utter_video
41
+  - action: action_suport_service
42
+
43
+
44
+  
45
+
46
+- story: docs path
47
+  steps:
48
+  - intent: docs
49
+    entities:
50
+      - content_type: "Blogs"
51
+  - slot_was_set:
52
+      - content_type: "Blogs"
53
+  - action: utter_blogs
54
+
55
+
56
+
57
+- story: video path
58
+  steps:
59
+  - intent: video
60
+    entities:
61
+      - content_type: "video"
62
+  - slot_was_set:
63
+      - content_type: "video"
64
+  - action: action_suport_service
65
+
66
+
67
+
68
+
69
+- story: connecting support
70
+  steps:
71
+  - intent: connect_support
72
+    entities:
73
+      - content_type: "text"
74
+  - slot_was_set:
75
+      - content_type: "text"
76
+  - action: utter_connect_support
77
+  - action: action_save_conersation
78
+  - action: action_clear_conversation
79
+
80
+- story: noconnecting support
81
+  steps:
82
+  - intent: noconnect_support
83
+    entities:
84
+      - content_type: "text"
85
+  - slot_was_set:
86
+      - content_type: "text"
87
+  - action: utter_noconnect_support
88
+  

Loading…
取消
儲存