data-science-document-ai 1.40.4__py3-none-any.whl → 1.41.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {data_science_document_ai-1.40.4.dist-info → data_science_document_ai-1.41.0.dist-info}/METADATA +1 -1
  2. data_science_document_ai-1.41.0.dist-info/RECORD +57 -0
  3. src/excel_processing.py +4 -0
  4. src/pdf_processing.py +14 -3
  5. src/postprocessing/common.py +27 -0
  6. src/prompts/library/bookingConfirmation/evergreen/placeholders.json +17 -17
  7. src/prompts/library/bookingConfirmation/evergreen/prompt.txt +1 -0
  8. src/prompts/library/bookingConfirmation/hapag-lloyd/placeholders.json +18 -18
  9. src/prompts/library/bookingConfirmation/hapag-lloyd/prompt.txt +1 -1
  10. src/prompts/library/bookingConfirmation/maersk/placeholders.json +17 -17
  11. src/prompts/library/bookingConfirmation/maersk/prompt.txt +1 -1
  12. src/prompts/library/bookingConfirmation/msc/placeholders.json +17 -17
  13. src/prompts/library/bookingConfirmation/msc/prompt.txt +1 -1
  14. src/prompts/library/bookingConfirmation/oocl/placeholders.json +17 -17
  15. src/prompts/library/bookingConfirmation/oocl/prompt.txt +3 -1
  16. src/prompts/library/bookingConfirmation/other/placeholders.json +17 -17
  17. src/prompts/library/bookingConfirmation/other/prompt.txt +1 -1
  18. src/prompts/library/bookingConfirmation/yangming/placeholders.json +17 -17
  19. src/prompts/library/bookingConfirmation/yangming/prompt.txt +1 -1
  20. src/prompts/library/bundeskasse/other/placeholders.json +19 -19
  21. src/prompts/library/bundeskasse/other/prompt.txt +1 -1
  22. src/prompts/library/commercialInvoice/other/prompt.txt +2 -1
  23. src/prompts/library/customsAssessment/other/prompt.txt +1 -1
  24. src/prompts/library/customsInvoice/other/placeholders.json +19 -19
  25. src/prompts/library/customsInvoice/other/prompt.txt +1 -1
  26. src/prompts/library/deliveryOrder/other/placeholders.json +15 -17
  27. src/prompts/library/deliveryOrder/other/prompt.txt +1 -1
  28. src/prompts/library/draftMbl/hapag-lloyd/prompt.txt +2 -1
  29. src/prompts/library/draftMbl/maersk/prompt.txt +2 -0
  30. src/prompts/library/draftMbl/other/prompt.txt +1 -1
  31. src/prompts/library/finalMbL/hapag-lloyd/prompt.txt +1 -1
  32. src/prompts/library/finalMbL/maersk/prompt.txt +2 -0
  33. src/prompts/library/finalMbL/other/prompt.txt +1 -1
  34. src/prompts/library/packingList/other/prompt.txt +1 -1
  35. src/prompts/library/partnerInvoice/other/placeholders.json +12 -60
  36. src/prompts/library/partnerInvoice/other/prompt.txt +1 -1
  37. src/prompts/library/shippingInstruction/other/prompt.txt +1 -0
  38. src/prompts/prompt_library.py +4 -0
  39. src/utils.py +57 -0
  40. data_science_document_ai-1.40.4.dist-info/RECORD +0 -59
  41. src/prompts/library/customsAssessment/other/placeholders.json +0 -19
  42. src/prompts/library/finalMbL/other/placeholders.json +0 -80
  43. {data_science_document_ai-1.40.4.dist-info → data_science_document_ai-1.41.0.dist-info}/WHEEL +0 -0
@@ -1,59 +0,0 @@
1
- src/constants.py,sha256=TF_UblovdXZnKIb1lnyJwUqQncJCbzBVihoelI6foSU,3579
2
- src/constants_sandbox.py,sha256=Iu6HdjCoNSmOX0AwoL9qUQkhq_ZnIN5U9e-Q2UfNuGc,547
3
- src/docai.py,sha256=AepGdF3ZuSGkujLpewX393FgOBMy-e4sEudiGKho5EA,5280
4
- src/docai_processor_config.yaml,sha256=qOMmCIORpLQ_D-ytvejXxFvER0e0uGYuzPVdZBGv4Pc,2105
5
- src/excel_processing.py,sha256=ZUlZ5zgWObmQfAWHoSrEEITKwr-xXxuOiPC3qDnGjtQ,2459
6
- src/io.py,sha256=IXz4wWqiHa9mnHNgtrC6X9M2lItYp9eu6rHCThUIh5c,3585
7
- src/llm.py,sha256=aEK3rL8XvY7CakvkOJQmcHpEKwZRd8PPrLrzHiO-GFk,7827
8
- src/log_setup.py,sha256=RhHnpXqcl-ii4EJzRt47CF2R-Q3YPF68tepg_Kg7tkw,2895
9
- src/pdf_processing.py,sha256=S_eTsgaDIIr3SCrEmaQZyc7TDJlRI0GCuP0P9EGF1Xc,15385
10
- src/postprocessing/common.py,sha256=W4L455j7IvTRZDWiBizoj9KC_UGUflkL_hEkk5P0h0k,20391
11
- src/postprocessing/postprocess_booking_confirmation.py,sha256=nK32eDiBNbauyQz0oCa9eraysku8aqzrcoRFoWVumDU,4827
12
- src/postprocessing/postprocess_commercial_invoice.py,sha256=3I8ijluTZcOs_sMnFZxfkAPle0UFQ239EMuvZfDZVPg,1028
13
- src/postprocessing/postprocess_partner_invoice.py,sha256=cM4te4qjOI_bXyrF8Zhb6X7eNf5aMKoRaPCFfqFv-98,11538
14
- src/prompts/library/bookingConfirmation/evergreen/placeholders.json,sha256=Re2wBgZoaJ5yImUUAwZOZxFcKXHxi83TCZwTuqd2v2k,1405
15
- src/prompts/library/bookingConfirmation/evergreen/prompt.txt,sha256=qlBMFDHy-gwr2PVeuHrfMEg_8Ibdym243DnaCgINa7g,2614
16
- src/prompts/library/bookingConfirmation/hapag-lloyd/placeholders.json,sha256=Re2wBgZoaJ5yImUUAwZOZxFcKXHxi83TCZwTuqd2v2k,1405
17
- src/prompts/library/bookingConfirmation/hapag-lloyd/prompt.txt,sha256=sg11U3lIhhS36BsimX7IOzR7Pez_9gScdNmJna2pPuw,3355
18
- src/prompts/library/bookingConfirmation/maersk/placeholders.json,sha256=PKWXySGAls6A8tujbSjokYp4ldc3c0DmSP2ITKYiUF8,1405
19
- src/prompts/library/bookingConfirmation/maersk/prompt.txt,sha256=-00tzWzXtQnXX3EPtaCBM39leCoLa4FB52_t7Z3eoQk,3148
20
- src/prompts/library/bookingConfirmation/msc/placeholders.json,sha256=Re2wBgZoaJ5yImUUAwZOZxFcKXHxi83TCZwTuqd2v2k,1405
21
- src/prompts/library/bookingConfirmation/msc/prompt.txt,sha256=9wdbLofnp5s1acD19jCmQuw__HMcVq1yr4vIJNJlKVM,4630
22
- src/prompts/library/bookingConfirmation/oocl/placeholders.json,sha256=NnXjMiEsTCzTDWs2WY7BIMo2p4_98-DL3v1r7x-FL3A,1403
23
- src/prompts/library/bookingConfirmation/oocl/prompt.txt,sha256=aGowVvOgl4w6TjX5O2RtD4QOiWC1JnXiWgg0t0chThU,2060
24
- src/prompts/library/bookingConfirmation/other/placeholders.json,sha256=Re2wBgZoaJ5yImUUAwZOZxFcKXHxi83TCZwTuqd2v2k,1405
25
- src/prompts/library/bookingConfirmation/other/prompt.txt,sha256=XOrq5Ns0nl8lDI9VvoOEbIMbOQdv8mcM8HqP8-eIjc4,3304
26
- src/prompts/library/bookingConfirmation/yangming/placeholders.json,sha256=Re2wBgZoaJ5yImUUAwZOZxFcKXHxi83TCZwTuqd2v2k,1405
27
- src/prompts/library/bookingConfirmation/yangming/prompt.txt,sha256=BSFy-6zDlAmOH2uZjsp-zZkR_Uy3RS5sGtdv9wysiSI,3151
28
- src/prompts/library/bundeskasse/other/placeholders.json,sha256=vc_m1yZP__ZMsdvnIvkgKmwF1q_ZMnKuWeIRNWour3w,4054
29
- src/prompts/library/bundeskasse/other/prompt.txt,sha256=GrrLH8lSuTcWmKUPUgBob0-bS_a61jTFSf09xxcE-nU,2890
30
- src/prompts/library/commercialInvoice/other/prompt.txt,sha256=fYUF7btc48Uqv4mJH5BgJdY4JVwj9I1xKX_HRBIrN7M,2590
31
- src/prompts/library/customsAssessment/other/placeholders.json,sha256=5nSGsMbpfKrpKoYImcTto_RlOvPCHyld2RlwU0Zbbqw,361
32
- src/prompts/library/customsAssessment/other/prompt.txt,sha256=wgJ8PYM0PKXiIKSljhFXEFBQ23GRs2E2DE9lVwHDvBU,2116
33
- src/prompts/library/customsInvoice/other/placeholders.json,sha256=vDji41DWA1ViKgMGwSBt0vu3wBCACrJhprKb8vG8DwY,12153
34
- src/prompts/library/customsInvoice/other/prompt.txt,sha256=P9t3Ga0KITSM1vmQWiX3UJ0pBPmndfJj_rZrvrf7utA,9593
35
- src/prompts/library/deliveryOrder/other/placeholders.json,sha256=6b_6OVsxT7bjFnV_v0OZkGEy-GN5K4AjL0ATzuoLdOU,1286
36
- src/prompts/library/deliveryOrder/other/prompt.txt,sha256=MVSS5AhkiWT17G9X4xk_AgKzYElagvWjLPCMr_ZhmOs,2393
37
- src/prompts/library/draftMbl/hapag-lloyd/prompt.txt,sha256=0k1xLW4zWaenCSNQJxXMXenIwI-eYmGgpxnAAcM3HOg,2251
38
- src/prompts/library/draftMbl/maersk/prompt.txt,sha256=GxaIYlksORvD2uAbodRx_9JFJXD4XbDaVFYtpN9uzxc,2050
39
- src/prompts/library/draftMbl/other/placeholders.json,sha256=wIN06_NWsESDyNEDfOLPi3F2Vq-XPa4O3U32A32s-_Q,1736
40
- src/prompts/library/draftMbl/other/prompt.txt,sha256=gqbPm1joXKDUss0wU6vMc-269sx-fYWh90gWuNKOBQc,2166
41
- src/prompts/library/finalMbL/hapag-lloyd/prompt.txt,sha256=0k1xLW4zWaenCSNQJxXMXenIwI-eYmGgpxnAAcM3HOg,2251
42
- src/prompts/library/finalMbL/maersk/prompt.txt,sha256=GxaIYlksORvD2uAbodRx_9JFJXD4XbDaVFYtpN9uzxc,2050
43
- src/prompts/library/finalMbL/other/placeholders.json,sha256=K_yJYhQo2DnZV_Rg6xXjo6sHkSGB-SMO4IQnY47V43w,1735
44
- src/prompts/library/finalMbL/other/prompt.txt,sha256=gqbPm1joXKDUss0wU6vMc-269sx-fYWh90gWuNKOBQc,2166
45
- src/prompts/library/packingList/other/prompt.txt,sha256=Qw16n7_48GGFYWz2vRepNowZCX1UPXKetEZ1UqFXPdY,2764
46
- src/prompts/library/partnerInvoice/other/placeholders.json,sha256=y_S_iAr-hHFzrPJgquZEtR66ETMvdWp1rtwCLrLPQUU,12139
47
- src/prompts/library/partnerInvoice/other/prompt.txt,sha256=hHzI5Vq3BABBWPMsv72nlahfYjgq08OSpflDDhV0NX8,9360
48
- src/prompts/library/postprocessing/port_code/placeholders.json,sha256=2TiXf3zSzrglOMPtDOlCntIa5RSvyZQAKG2-IgrCY5A,22
49
- src/prompts/library/postprocessing/port_code/prompt_port_code.txt,sha256=--1wunSqEr2ox958lEhjO-0JFBfOLzA3qfKYIzG_Iok,884
50
- src/prompts/library/preprocessing/carrier/placeholders.json,sha256=1UmrQNqBEsjLIpOO-a39Az6bQ_g1lxDGlwqZFU3IEt0,408
51
- src/prompts/library/preprocessing/carrier/prompt.txt,sha256=NLvRZQCZ6aWC1yTr7Q93jK5z7Vi_b4HBaiFYYnIsO-w,134
52
- src/prompts/library/shippingInstruction/other/prompt.txt,sha256=fyC24ig4FyRNnLuQM69s4ZVajsK-LHIl2dvaaEXr-6Q,1327
53
- src/prompts/prompt_library.py,sha256=VJWHeXN-s501C2GiidIIvQQuZdU6T1R27hE2dKBiI40,2555
54
- src/setup.py,sha256=kPSZosrICfaGZeDaajr40Ha7Ok4XK4fo_uq35Omiwr0,7128
55
- src/tms.py,sha256=UXbIo1QE--hIX6NZi5Qyp2R_CP338syrY9pCTPrfgnE,1741
56
- src/utils.py,sha256=-1Yq_5ExZlFQRUPRsQHiBD3TthNSiPVPp46Dvdb9Kf0,13830
57
- data_science_document_ai-1.40.4.dist-info/METADATA,sha256=zM542Z9wdq9B2SaEmjoAEzj20BYlbL9LxwjZvMXb22w,2153
58
- data_science_document_ai-1.40.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
59
- data_science_document_ai-1.40.4.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- {
2
- "SCHEMA_PLACEHOLDER": {
3
- "consignee": "",
4
- "shipper":"",
5
- "countryOfOrigin": "",
6
- "MRN": "",
7
- "totalValueOfGoods": "",
8
- "containers": [
9
- {
10
- "containerNumber": "",
11
- "grossWeight": "",
12
- "goodsDescription": "",
13
- "nettWeight": "",
14
- "packagingNumber": "",
15
- "packagingType": ""
16
- }
17
- ]
18
- }
19
- }
@@ -1,80 +0,0 @@
1
- {
2
- "type": "OBJECT",
3
- "properties": {
4
- "blNumber": {
5
- "type": "string",
6
- "nullable": true,
7
- "description": ""
8
- },
9
- "voyage": {
10
- "type": "string",
11
- "nullable": true,
12
- "description": ""
13
- },
14
- "portOfLoading": {
15
- "type": "string",
16
- "nullable": true,
17
- "description": ""
18
- },
19
- "portOfDischarge": {
20
- "type": "string",
21
- "nullable": true,
22
- "description": ""
23
- },
24
- "bookingNumber": {
25
- "type": "string",
26
- "nullable": true,
27
- "description": ""
28
- },
29
- "containers": {
30
- "type": "ARRAY",
31
- "items": {
32
- "type": "OBJECT",
33
- "properties": {
34
- "containerType": {
35
- "type": "string",
36
- "nullable": true,
37
- "description": ""
38
- },
39
- "grossWeight": {
40
- "type": "string",
41
- "nullable": true,
42
- "description": ""
43
- },
44
- "measurements": {
45
- "type": "string",
46
- "nullable": true,
47
- "description": ""
48
- },
49
- "packageQuantity": {
50
- "type": "string",
51
- "nullable": true,
52
- "description": ""
53
- },
54
- "packageType": {
55
- "type": "string",
56
- "nullable": true,
57
- "description": ""
58
- },
59
- "containerNumber": {
60
- "type": "string",
61
- "nullable": true,
62
- "description": ""
63
- },
64
- "sealNumber": {
65
- "type": "string",
66
- "nullable": true,
67
- "description": ""
68
- }
69
- },
70
- "required": []
71
- }
72
- },
73
- "vessel": {
74
- "type": "string",
75
- "nullable": true,
76
- "description": ""
77
- }
78
- },
79
- "required": []
80
- }