data-science-document-ai 1.37.0__py3-none-any.whl → 1.38.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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: data-science-document-ai
3
- Version: 1.37.0
3
+ Version: 1.38.0
4
4
  Summary: "Document AI repo for data science"
5
5
  Author: Naomi Nguyen
6
6
  Author-email: naomi.nguyen@forto.com
@@ -30,8 +30,8 @@ src/prompts/library/bundeskasse/other/prompt.txt,sha256=GrrLH8lSuTcWmKUPUgBob0-b
30
30
  src/prompts/library/commercialInvoice/other/prompt.txt,sha256=fYUF7btc48Uqv4mJH5BgJdY4JVwj9I1xKX_HRBIrN7M,2590
31
31
  src/prompts/library/customsAssessment/other/placeholders.json,sha256=5nSGsMbpfKrpKoYImcTto_RlOvPCHyld2RlwU0Zbbqw,361
32
32
  src/prompts/library/customsAssessment/other/prompt.txt,sha256=wgJ8PYM0PKXiIKSljhFXEFBQ23GRs2E2DE9lVwHDvBU,2116
33
- src/prompts/library/customsInvoice/other/placeholders.json,sha256=8wkBbDwAgRjh5AW7kE7ORfVE2LGcOE5Ko-6Uo3leVJI,11651
34
- src/prompts/library/customsInvoice/other/prompt.txt,sha256=0YXAaCpB6tr_ed-7MCldjxha3HXZbI-m0yHwR-0sClg,8880
33
+ src/prompts/library/customsInvoice/other/placeholders.json,sha256=vDji41DWA1ViKgMGwSBt0vu3wBCACrJhprKb8vG8DwY,12153
34
+ src/prompts/library/customsInvoice/other/prompt.txt,sha256=P9t3Ga0KITSM1vmQWiX3UJ0pBPmndfJj_rZrvrf7utA,9593
35
35
  src/prompts/library/deliveryOrder/other/placeholders.json,sha256=6b_6OVsxT7bjFnV_v0OZkGEy-GN5K4AjL0ATzuoLdOU,1286
36
36
  src/prompts/library/deliveryOrder/other/prompt.txt,sha256=MVSS5AhkiWT17G9X4xk_AgKzYElagvWjLPCMr_ZhmOs,2393
37
37
  src/prompts/library/draftMbl/hapag-lloyd/prompt.txt,sha256=0k1xLW4zWaenCSNQJxXMXenIwI-eYmGgpxnAAcM3HOg,2251
@@ -54,6 +54,6 @@ src/prompts/prompt_library.py,sha256=VJWHeXN-s501C2GiidIIvQQuZdU6T1R27hE2dKBiI40
54
54
  src/setup.py,sha256=TJu68mXS6Dx90Il8A_pHDnrIOiLD3q9f7FWgW0c1HOM,8352
55
55
  src/tms.py,sha256=UXbIo1QE--hIX6NZi5Qyp2R_CP338syrY9pCTPrfgnE,1741
56
56
  src/utils.py,sha256=68x3hakQ8aDfq7967XoTRe_vsneWnLbWp_jz8q_FrBA,12189
57
- data_science_document_ai-1.37.0.dist-info/METADATA,sha256=xutWfD4IDhKnvPWZ2d1wczu9Q70n11N4N4ZX8rcOBRU,2153
58
- data_science_document_ai-1.37.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
59
- data_science_document_ai-1.37.0.dist-info/RECORD,,
57
+ data_science_document_ai-1.38.0.dist-info/METADATA,sha256=fDQUs1Zi2ZteWsX6vm-0pNEZA04KJAels_OjC4Job6o,2153
58
+ data_science_document_ai-1.38.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
59
+ data_science_document_ai-1.38.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -136,6 +136,15 @@
136
136
  "description": "The address of the vendor to whom the payment should be made."},
137
137
  "vendorName": {"type": "STRING", "nullable": true,
138
138
  "description": "The name of the vendor to whom the payment should be made. Extract the main vendor details incase the invoice contains 'As Agent For'."},
139
+ "agentName": {
140
+ "type": "STRING",
141
+ "nullable": true,
142
+ "description": "The name of the agent or intermediary involved in the transaction, if applicable."},
143
+ "agentKeyWord": {
144
+ "type": "STRING",
145
+ "nullable": true,
146
+ "description": "A keyword or phrase that indicates the presence of an agent or intermediary in the transaction, such as 'As Agent For', 'Acting Agent', 'Issuing agent', 'Contact Agent', or similar words."},
147
+
139
148
  "paymentInformation": {
140
149
  "type": "OBJECT",
141
150
  "properties": {
@@ -70,6 +70,11 @@ Your role is to accurately extract specific entities from these invoices to supp
70
70
  - "COSCO SHIPPING Lines Italy, Poland, or France S.R.L. – Genova Office – As Agent For COSCO SHIPPING Lines Co.,Ltd."
71
71
  - vendorName: COSCO SHIPPING Lines Co.,Ltd.
72
72
 
73
+ - agentName: Name of the agent. Agencies are offices authorized to act on behalf of a company. This details usually available including the branch name of the parent company name in the invoice.
74
+ - agentKeyWord:
75
+ - A keyword or phrase that indicates the presence of an agent or intermediary in the transaction, such as 'As Agent For', 'Acting Agent', 'Acting on behalf of', 'Issuing agent', 'Contact Agent', 'Service rendered by', 'C/O as agent for', 'Invoice issued in the name of', 'Diese Rechnung wird von uns als Agent im Namen und für Rechnung der XX ausgestellt', or similar words.
76
+ - Extract this field only if the agentName is present in the invoice. Do not assume from the references given above.
77
+
73
78
  - recipientName and recipientAddress: This is often the 'Forto Logistics SE & Co KG' entity or partner, and it's address. The address depends on the Forto entity responsible for the shipment.
74
79
 
75
80
  - serviceDate: The date of service provided. If the serviceDate is not specifically mentioned in the invoice, you can use the ETA of the shipment as a serviceDate.