-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.py
76 lines (72 loc) · 2.3 KB
/
template.py
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
REQUEST_2 = """
Here is a reflected action from B.
B: {reflected_action}
A is another person talking to B in a room
What ambiguous request may A talk to B indirectly without asking a question causing B to respond above reflected action.
And describe some related object in the background according to utterance between A and B
The output should be {num} examples in a JSON list
Each example is an object in the list
example output
[
{{
"Person A" : "<ambiguous_statement>",
"Person B" : "{reflected_action}",
"BackgroundObject" : "<background_object_description>"
}}
]
## Output
"""
LOCATION_1 = """
Give me {num} conversation examples between two people in a {location}
Person A made an ambiguous request to Person B
And Person B responded with a reflected action to A
Each conversation should be one utterance
And describe some related object in the background
The output should be only in a JSON list
Each example is an object in the list
Example output
[
{{
"Person A" : "<ambiguous_request>"
"Person B" : "<reflected_action>"
"BackgroundObject" : "<background_object_description>"
}},
]
## Output
"""
LOCATION_2 = """
Give me {num} conversation examples between two people in a {location}
Person A made an ambiguous statement without asking a question to Person B
And Person B responded with a reflected action to A
Each conversation should be one utterance
And describe some related object in the background
The output should be only in a JSON list
Each example is an object in the list
Example output
[
{{
"Person A" : "<ambiguous_statement>"
"Person B" : "<reflected_action>"
"BackgroundObject" : "<background_object_description>"
}},
]
## Output
"""
LOCATION_3 = """
Give me {num} conversation examples between two people in a {location}
Person A made an ambiguous request indirectly without asking a question to Person B
And Person B responded with a reflected action to A
Each conversation should be one utterance
And describe some related object in the background
The output should be only in a JSON list
Each example is an object in the list
Example output
[
{{
"Person A" : "<ambiguous_statement>"
"Person B" : "<reflected_action>"
"BackgroundObject" : "<background_object_description>"
}},
]
## Output
"""