-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassignment_1_input_1.json
40 lines (40 loc) · 1.03 KB
/
assignment_1_input_1.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
{
"function":"sample-text-function",
"questions":[
{
"instruction":"Hello! I'm Sarah. I'm your personal assistant."
},
{
"text":"Before starting please tell me your first name",
"var":"first_name"
},
{
"text":"Please tell me your last name",
"var":"last_name"
},
{
"text":"And your gender?",
"options":[
"Male",
"female"
],
"var":"gender"
},
{
"text":"May I know your age?",
"var":"age"
},
{
"conditions":[
[
"age.isdigit() == False"
]
],
"text":"I couldn't quite get how that response can be your age :/ Please enter your valid age.",
"var":"age"
},
{
"instruction":"Congratulations! Registration Successful."
}
]
}