Alexandre-Numind commited on
Commit
bfb7ca5
·
verified ·
1 Parent(s): 41bd041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +82 -3
app.py CHANGED
@@ -183,9 +183,7 @@ STRUCTURED_EXAMPLE_TEMPLATES: Dict[str, Dict[str, Any]] = {
183
  },
184
  "2.png": {
185
  "number_of_bathrooms": "integer",
186
- "number_of_toilets": "integer",
187
  "number_of_fireplaces": "integer",
188
- "number_of_closets": "integer",
189
  "distance_unit": ["meter", "foot"],
190
  "rooms_that_are_not_bedrooms_or_corridors_or_toilets": [
191
  {
@@ -235,13 +233,94 @@ STRUCTURED_EXAMPLE_TEMPLATES: Dict[str, Dict[str, Any]] = {
235
  "total_price_net": "number",
236
  "total_price_gross": "number"
237
  },
238
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  }
240
 
241
  STRUCTURED_EXAMPLE_INSTRUCTIONS: Dict[str, str] = {
242
  "1.jpg": "",
243
  "2.png": "",
244
  "8.png": "",
 
 
 
245
  }
246
 
247
 
 
183
  },
184
  "2.png": {
185
  "number_of_bathrooms": "integer",
 
186
  "number_of_fireplaces": "integer",
 
187
  "distance_unit": ["meter", "foot"],
188
  "rooms_that_are_not_bedrooms_or_corridors_or_toilets": [
189
  {
 
233
  "total_price_net": "number",
234
  "total_price_gross": "number"
235
  },
236
+ "18.jpg":{
237
+ "festival_name": "verbatim-string",
238
+ "website_url": "url",
239
+ "location": {
240
+ "city": "string",
241
+ "zip_code": "string",
242
+ "country": "country"
243
+ },
244
+ "date_first_day": "date",
245
+ "date_last_day": "date",
246
+ "lineup_entry": [
247
+ {
248
+ "artist_or_group_name": "string",
249
+ "artist_entity_type": ["individual", "band", "ensemble", "b2b", "project_or_collaboration", "other"],
250
+ "performing_stage_name": "verbatim-string",
251
+ "is_headliner": "boolean",
252
+ "day_playing": "date"
253
+ }
254
+ ],
255
+ "sponsors": [
256
+ {
257
+ "name": "verbatim-string",
258
+ "type": ["press", "tv", "bank", "insurance", "beverage company", "car company", "technology company", "clothing company", "transportation", "public institution", "other"]
259
+ }
260
+ ]
261
+ },
262
+ "17.png":{
263
+ "parts": [
264
+ {
265
+ "name": "verbatim-string",
266
+ "id": "verbatim-string",
267
+ "details": "verbatim-string"
268
+ }
269
+ ]
270
+ },
271
+ "16.jpeg":{
272
+ "Applicant": {
273
+ "Name": "verbatim-string",
274
+ "Registration no": "verbatim-string",
275
+ "Holding compagny": "verbatim-string",
276
+ "VAT Registration no": "verbatim-string",
277
+ "Date of creation": "date",
278
+ "Type of entity": "verbatim-string",
279
+ "Location": {
280
+ "Street number": "verbatim-string",
281
+ "Street name": "verbatim-string",
282
+ "City": "verbatim-string",
283
+ "Zip code": "string",
284
+ "Country": "country"
285
+ },
286
+ "Website": "url",
287
+ "Phone": "phone-number",
288
+ "Email": "email-address"
289
+ },
290
+ "Bank Reference": {
291
+ "Bank name": "verbatim-string",
292
+ "Account name": "verbatim-string",
293
+ "Account no": "integer",
294
+ "Importer code": "verbatim-string"
295
+ },
296
+ "Trades references": [
297
+ {
298
+ "Company name": "verbatim-string",
299
+ "Account opened since": "date",
300
+ "Tel": "phone-number",
301
+ "Email": "email-address",
302
+ "Location": {
303
+ "Street number": "verbatim-string",
304
+ "Street name": "verbatim-string",
305
+ "City": "verbatim-string",
306
+ "Zip code": "string",
307
+ "Country": "country"
308
+ },
309
+ "Credit limit": "string"
310
+ }
311
+ ],
312
+ "Is document signed": "boolean",
313
+ "Date of signature": "date"
314
+ },
315
  }
316
 
317
  STRUCTURED_EXAMPLE_INSTRUCTIONS: Dict[str, str] = {
318
  "1.jpg": "",
319
  "2.png": "",
320
  "8.png": "",
321
+ "18.jpg": "",
322
+ "17.png": "",
323
+ "16.jpeg": ""
324
  }
325
 
326