data-science-document-ai 1.37.0__py3-none-any.whl → 1.38.1__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.
- {data_science_document_ai-1.37.0.dist-info → data_science_document_ai-1.38.1.dist-info}/METADATA +2 -2
- {data_science_document_ai-1.37.0.dist-info → data_science_document_ai-1.38.1.dist-info}/RECORD +5 -5
- {data_science_document_ai-1.37.0.dist-info → data_science_document_ai-1.38.1.dist-info}/WHEEL +1 -1
- src/prompts/library/customsInvoice/other/placeholders.json +9 -0
- src/prompts/library/customsInvoice/other/prompt.txt +5 -0
{data_science_document_ai-1.37.0.dist-info → data_science_document_ai-1.38.1.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
34
|
-
src/prompts/library/customsInvoice/other/prompt.txt,sha256=
|
|
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.
|
|
58
|
-
data_science_document_ai-1.
|
|
59
|
-
data_science_document_ai-1.
|
|
57
|
+
data_science_document_ai-1.38.1.dist-info/METADATA,sha256=dOwobu2E0dapkJFe2boCFt-_ow2jWEsZwhwhqXY6y8s,2153
|
|
58
|
+
data_science_document_ai-1.38.1.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
59
|
+
data_science_document_ai-1.38.1.dist-info/RECORD,,
|
|
@@ -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.
|