File size: 15,868 Bytes
24c4def
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
image-to-text:
  object:
    system: |-
      You are a brilliant object extractor.
    user: |-
      Given a list of claim, extract the objects from each claim for me. 
      Extract the common objects and summarize them as general categories without repetition, merge essentially similar objects. 
      Avoid extracting hypernyms, keep hyponyms!
      Avoid extracting abstract or non-specific objects. 
      Extract object in the singular form. 
      Output all the extracted types of items separate each object type with a period. 
      If there is nothing to output, then output a single "none".
      YOU MUST TO DISREGARD OBJECT WORDS THAT ARE NOT NATURAL OBJECTS, SUCH AS SCENES, AREA, SKY, GROUND, WORDS, ATMOSPHERES, COUNTRIES, NAMES, AND PLACES.IF THERE ARE NO NATURAL objects IN THE SENTENCE, RETURN 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":"object1.object2.object3","claim2":"none","claim3":"object1.object2", ...}}

      Here are three examples:
      claim list:
      claim1: The image depicts a man laying on the ground.
      claim2: The man is next to a motorcycle.
      claim3: The sun is shining upon the ground.
      claim4: The light is very bright.
      output:
      {{"claim1":"man","claim2":"man.motorcycle","claim3":"none", "claim4":"none"}}

      claim list:
      claim1: The image shows a device.
      claim2: The device has the words \"Samsung\".
      claim3: Samsung is a Korean company.
      output:
      {{"claim1":"device","claim2":"device", "claim3":"none"}}

      claim list:
      claim1: A man wears a green shirt.
      claim2: The man's face is beaming with a smile.
      claim3: The image shows the man in high spirits.
      output:
      {{"claim1":"man.shirt","claim2":"man","claim3":"man"}}

      Now complete your output with following the above rules.
      claim list:
      {claims}
      output:

  attribute:
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a list of claim and some objects(each object is connected by a period), you're required to generate questions about attributes of the given objects. 
      The generated questions may involve basic attributes such as colors, actions and position mentioned in the claim. 
      Do not ask questions involving object counts or the existence of object.
      Do not ask questions involving scene text.
      When asking questions about attributes, try to ask simple questions that only involve one object. 
      Ask questions that can be easily decided visually. Do not ask questions that require complex reasoning.
      Do not ask semantically similar questions. Do not ask questions only about scenes or places.
      Do not ask questions about uncertain or conjecture parts of the claim, for example, the parts described with "maybe" or "likely", etc.
      It is no need to cover all the specified objects. If there is no question to ask, simply output 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":["question1", "question2"],"claim2":["none"],"claim3":["question1", "question2"], ...}}

      Here are three examples:
      objects:
      dog.cat
      claim list:
      claim1: There is one black dog on the left in the image.
      claim2: There are two white cats on the right in the image.
      output:
      {{"claim1":["What color is the dog?", "Is there a dog on the left in the image?"],"claim2":["What color are the cat?", "Are there two cats on the right in the image?"]}}

      objects:
      man.baseball cap.wall
      claim list:
      claim1: The man is wearing a baseball cap.
      claim2: The man appears to be smoking.
      claim3: 'hello world' is written on the white wall.
      output:
      {{"claim1":["What is the man wearing?"], "claim2":["Does the man appear to be smoking?"], "claim3":[What color is the wall?]}}

      objects:
      kitchen.man.apron
      claim list:
      claim1: The image depicts a kitchen.
      claim2: There is a man in a white apron. 
      claim3: The man is standing in the middle of the kitchen.
      claim4: The overall atmosphere is very pleasant.
      output:
      {{"claim1":["none"], "claim2":["What does the man wear?", "What color is the apron?"], "claim3":["Is the man standing in the middle of the kitchen?"], "claim4": ["none"]}}   

      Now complete the following with following the above rules. DO NOT RESPOND WITH ANYTHING ELSE.
      objects:
      {objects}
      claim list:
      {claims}
      output:

  scene-text:
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a list of claim, you're required to generate questions about scene text to assist users in verifying the accuracy of the claim. 
      If the information mentioned in this claim pertains to scene text, you'll need to generate question about the scene text.
      If the claim is unrelated to the scene text information in the image, such as: objects, colors, actions, position etc, simply return 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":["question1", "question2"],"claim2":["none"],"claim3":["question1", "question2"], ...}}

      Here are three examples:
      claim list:
      claim1: There is a black device in the image.
      claim2: The device is a brand of smartphones produced by Samsung Electronics.
      output: {{"claim1":["none"],"claim2":["What is the brand of the device in the image?"]}}
      
      claim list:
      claim1: A stop sign is on the left.
      claim2: The stop sign says stop eating animals.
      output: {{"claim1":["none"],"claim2":["What does the stop sign say in the image?"]}}

      claim list:
      claim1: The words 'Hello World' are written on the car
      claim2: A man is standing beside the car.
      output: {{"claim1":["What are written on the car?"],"claim2":["none"]}}

      Now complete the following with following the above rules. DO NOT RESPOND WITH ANYTHING ELSE.
      claim list:
      {claims}
      output:

  fact:
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a list of claim, you're required to generate questions about factual knowledge.  
      For a claim based on factual knowledge, Your primary task is to generate a Python list of two effective and skeptical search engine questions.
      These questions should assist users in critically evaluating the factuality of a provided claim using search engines.
      If a claim is not based on factual knowledge, simply return 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":["question1", "question2"],"claim2":["none"],"claim3":["question1", "question2"], ...}}

      Here are three examples:
      claim list: 
      claim1: The image shows a black phone.
      claim2: This black phone is manufactured by Huawei.
      claim3: Huawei is a company located in Shenzhen, China.
      output: 
      {{"claim1":["none"],"claim2":["none"],"claim3":["Where is Huawei headquartered?", "Huawei company"]}}

      claim list:
      claim1: The image shows an app of twitter.
      claim2: The CEO of twitter is Bill Gates.
      output: {{"claim1":["none"],"claim2":["Who is the CEO of twitter?", "CEO Twitter"]}}

      claim list:
      claim1: The man is playing baseball.
      claim2: The man is wearing a colorful shirt.
      output: {{"claim1":["none"],"claim2":["none"]}}

      Now complete the following with following the above rules. DO NOT RESPOND WITH ANYTHING ELSE.
      claim list:
      {claims}
      output: 


text-to-image:
  object:
    system: |-
      You are a brilliant object extractor.
    user: |-
      Given a list of claim, extract the objects from each claim for me. 
      Extract the common objects and summarize them as general categories without repetition, merge essentially similar objects. 
      Avoid extracting hypernyms, keep hyponyms!
      Avoid extracting abstract or non-specific objects. 
      Extract object in the singular form. 
      Output all the extracted types of items separate each object type with a period. 
      If there is nothing to output, then output a single "none".
      YOU MUST TO DISREGARD OBJECT WORDS THAT ARE NOT NATURAL OBJECTS, SUCH AS SCENES, AREA, SKY, GROUND, WORDS, ATMOSPHERES, COUNTRIES, NAMES, AND PLACES.IF THERE ARE NO NATURAL objects IN THE SENTENCE, RETURN 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":"object1.object2.object3","claim2":"none","claim3":"object1.object2", ...}}

      Here are three examples:
      claim list:
      claim1: The image depicts a man laying on the ground.
      claim2: The man is next to a motorcycle.
      claim3: The sun is shining upon the ground.
      claim4: The light is very bright.
      output:
      {{"claim1":"man","claim2":"man.motorcycle","claim3":"none", "claim4":"none"}}

      claim list:
      claim1: The image shows a device.
      claim2: The device has the words \"Samsung\".
      claim3: Samsung is a Korean company.
      output:
      {{"claim1":"device","claim2":"device", "claim3":"none"}}

      claim list:
      claim1: A man wears a green shirt.
      claim2: The man's face is beaming with a smile.
      claim3: The image shows the man in high spirits.
      output:
      {{"claim1":"man.shirt","claim2":"man","claim3":"man"}}

      Now complete your output with following the above rules.
      claim list:
      {claims}
      output:
  
  attribute:
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a list of claim and some objects(each object is connected by a period), you're required to generate questions about attributes of the given objects. 
      The generated questions may involve basic attributes such as colors, actions and position mentioned in the claim. 
      Do not ask questions involving object counts or the existence of object.
      Do not ask questions involving scene text.
      When asking questions about attributes, try to ask simple questions that only involve one object. 
      Ask questions that can be easily decided visually. Do not ask questions that require complex reasoning.
      Do not ask semantically similar questions. Do not ask questions only about scenes or places.
      Do not ask questions about uncertain or conjecture parts of the claim, for example, the parts described with "maybe" or "likely", etc.
      It is no need to cover all the specified objects. If there is no question to ask, simply output 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":["question1", "question2"],"claim2":["none"],"claim3":["question1", "question2"], ...}}

      Here are three examples:
      objects:
      dog.cat
      claim list:
      claim1: There is one black dog on the left in the image.
      claim2: There are two white cats on the right in the image.
      output:
      {{"claim1":["What color is the dog?", "Is there a dog on the left in the image?"],"claim2":["What color are the cat?", "Are there two cats on the right in the image?"]}}

      objects:
      man.baseball cap.wall
      claim list:
      claim1: The man is wearing a baseball cap.
      claim2: The man appears to be smoking.
      claim3: 'hello world' is written on the white wall.
      output:
      {{"claim1":["What is the man wearing?"], "claim2":["Does the man appear to be smoking?"], "claim3":[What color is the wall?]}}

      objects:
      kitchen.man.apron
      claim list:
      claim1: The image depicts a kitchen.
      claim2: There is a man in a white apron. 
      claim3: The man is standing in the middle of the kitchen.
      claim4: The overall atmosphere is very pleasant.
      output:
      {{"claim1":["none"], "claim2":["What does the man wear?", "What color is the apron?"], "claim3":["Is the man standing in the middle of the kitchen?"], "claim4": ["none"]}}   

      Now complete the following with following the above rules. DO NOT RESPOND WITH ANYTHING ELSE.
      objects:
      {objects}
      claim list:
      {claims}
      output:

  scene-text:
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a claim list, you're required to generate questions about scene text to assist users in verifying the accuracy of a image using an OCR model. 
      You must carefully observe vocabulary related to scene text, such as words, text, write, says, letters, etc
      Ask questions that can be easily decided visually. Do not ask questions that require complex reasoning.
      DO NOT ASK QUESTIONS INVOLVING objects, COLORS, POSITION, ACTIONS!!!
      If there is no question to ask, simply output: a 'none'.

      Here are three examples:
      claim list: claim1: There is a white wall. claim2: The word "Hello" is written on the wall.
      output: {{"claim1":"none", "claim2":"What is written on the wall?"}}

      claim list: claim1: A stop sign says eating animals.
      output: {{"claim1":"What does the stop sign say in the image?"}}

      claim list: claim1: There is one black dog in the image. claim2: There are two white cats in the image.
      output: {{"claim1":"none", "claim2":"none"}}

      Now complete the following:
      claim list: {claims}
      output:

  fact: 
    system: |-
      You are a brilliant question generator.
    user: |-
      Given a list of claim, you're required to generate questions about related to factual visual information.
      For a claim based on factual knowledge, Your primary task is to generate a Python list of two effective and skeptical search engine questions.
      These questions should assist users in critically evaluating the factuality of a provided claim using search engines.
      If a claim is not based on factual knowledge, simply return 'none'.
      YOU MUST RETURN THE RESULTS IN A DICTIONARY ACCORDING TO THE GIVEN ORDER OF THE LIST OF CLAIMS.
      You MUST only respond in the format as described below. DO NOT RESPOND WITH ANYTHING ELSE.
      response format: {{"claim1":["question1", "question2"],"claim2":["none"],"claim3":["question1", "question2"], ...}}
      
      Here are three examples:
      claim list: 
      claim1: There is a black phone.
      claim2: The black phone has Huawei logo.
      output: 
      {{"claim1":["none"],"claim2":["none"],"claim3":["Huawei logo", "The design of the Huawei logo"]}}

      claim list:
      claim1: The image shows a red coca-cola.
      output: {{"claim1":["The appearance of Coca-Cola", "The design of Coca-Cola"]}}

      claim list:
      claim1: The man is playing baseball.
      claim2: The man is wearing a colorful shirt.
      output: {{"claim1":["none"],"claim2":["none"]}}

      Now complete the following with following the above rules. DO NOT RESPOND WITH ANYTHING ELSE.
      claim list:
      {claims}
      output: