-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassignment_1_response_series_2.json
110 lines (109 loc) · 2.84 KB
/
assignment_1_response_series_2.json
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"stage1":[
{
"message":{
"text":"Hello! I'm Sarah. I'm your personal assistant."
}
},
{
"message":{
"text":"Before starting please tell me your first name"
}
}
],
"stage2":[
{
"message":{
"text":"Before starting please tell me your last name"
}
}
],
"stage3":[
{
"message":{
"text":"And your gender?",
"quick_replies":[
{
"content_type":"text",
"title":"Male",
"payload":"male"
},
{
"content_type":"text",
"title":"Female",
"payload":"female"
}
]
}
}
],
"stage4":[
{
"message":{
"text":"May I know your age?"
}
}
],
"stage5":[ #CONDITIONAL BLOCK DEPENDS ON WHETHER THE USER ENTERED A WRONG INPUT FOR AGE
{
"message":{
"text":"I couldn't quite get how that response can be your age :/ Please enter your valid age."
}
}
],
"stage6":[
{
"message":{
"text":"Congratulations! Registration Successful."
}
}
],
"stage7":[#IF I ENTER PRATIK AS FIRST NAME AND AGARWAL AS LAST NAME
{
"message":{
"text":"Hello Pratik Agarwal , How are you? For a sample of my work I can show you how to make a transpose of a 3X3 matrix."
}
},
{
"message":{
"text":"Enter the first row of the matrix(3 integers space seperated)."
}
}#I'LL ENTER 1 2 3 AS INPUT
],
"stage8":[
{
"message":{
"text":"Enter the second row of the matrix(3 integers space seperated)."
}
}#I'LL ENTER 4 5 6 AS INPUT
],
"stage9":[
{
"message":{
"text":"Enter the third row of the matrix(3 integers space seperated)."
}
}#I'LL ENTER 7 8 9 AS INPUT
],
"stage10":[
{
"message":{
"text":"This is the transpose of the input matrix"
}
},
{
"message":{
"text":"Row 1 : [1, 4, 7]"
}
},
{
"message":{
"text":"Row 2 : [2, 5, 8]"
}
},
{
"message": {
"text": "Row 3 : [3, 6, 9]"
}
}
]
}