data-science-document-ai 1.59.0__py3-none-any.whl → 1.60.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.
- {data_science_document_ai-1.59.0.dist-info → data_science_document_ai-1.60.0.dist-info}/METADATA +1 -1
- {data_science_document_ai-1.59.0.dist-info → data_science_document_ai-1.60.0.dist-info}/RECORD +7 -7
- src/prompts/library/customsInvoice/other/placeholders.json +1 -1
- src/prompts/library/customsInvoice/other/prompt.txt +6 -2
- src/prompts/library/partnerInvoice/other/placeholders.json +1 -1
- src/prompts/library/partnerInvoice/other/prompt.txt +6 -2
- {data_science_document_ai-1.59.0.dist-info → data_science_document_ai-1.60.0.dist-info}/WHEEL +0 -0
{data_science_document_ai-1.59.0.dist-info → data_science_document_ai-1.60.0.dist-info}/RECORD
RENAMED
|
@@ -33,8 +33,8 @@ src/prompts/library/commercialInvoice/other/placeholders.json,sha256=zUK2mg9MnHi
|
|
|
33
33
|
src/prompts/library/commercialInvoice/other/prompt.txt,sha256=CJapcVrmcvynJUanETDklkzU-0N9hHdhq5wL4MK7OIY,2683
|
|
34
34
|
src/prompts/library/customsAssessment/other/placeholders.json,sha256=scIV--C9HNWAQbU9zEz3GT_FoAvJqbfuY85YUtt7t-Q,3850
|
|
35
35
|
src/prompts/library/customsAssessment/other/prompt.txt,sha256=z3FuoHZ588Pz1WBJDW7ISAC3J6n7hPJCcS92CdHDTFw,2494
|
|
36
|
-
src/prompts/library/customsInvoice/other/placeholders.json,sha256=
|
|
37
|
-
src/prompts/library/customsInvoice/other/prompt.txt,sha256=
|
|
36
|
+
src/prompts/library/customsInvoice/other/placeholders.json,sha256=hZb6Gl_rUMzmuiXuB39TBHwL08h2EDXa2AASNPgZEeM,12169
|
|
37
|
+
src/prompts/library/customsInvoice/other/prompt.txt,sha256=N1kzaxOlgzc779V4ZjPO9s_djMyiVY5I7uBx7-ZMxUA,10225
|
|
38
38
|
src/prompts/library/deliveryOrder/other/placeholders.json,sha256=j-9F4V3yDg4610PPsOwU3oOj_S9vAvAB9Ix155WGIwc,3827
|
|
39
39
|
src/prompts/library/deliveryOrder/other/prompt.txt,sha256=RD076vq0x0IjoEVQfh-G0u4nxITCpgKZGrwMlR9YAvk,2695
|
|
40
40
|
src/prompts/library/draftMbl/other/placeholders.json,sha256=Gn8kQ8cMmrzRGLSFH7_8wO1_j2jxhqHd4zeivZP2SjU,4304
|
|
@@ -43,8 +43,8 @@ src/prompts/library/finalMbL/other/placeholders.json,sha256=Gn8kQ8cMmrzRGLSFH7_8
|
|
|
43
43
|
src/prompts/library/finalMbL/other/prompt.txt,sha256=cyeKjK94sepqXiLEeZKB4VpmT0-nqXALP4dih-B67M8,2386
|
|
44
44
|
src/prompts/library/packingList/other/placeholders.json,sha256=cGUUvEFoi4Lm0BAiyD29KbNFbUgzO1s7eit_qK3F0ig,4478
|
|
45
45
|
src/prompts/library/packingList/other/prompt.txt,sha256=6Q9d0KBG6YWmNtzFivvmtQmitaUE2jytfwwc5YwsUgQ,2872
|
|
46
|
-
src/prompts/library/partnerInvoice/other/placeholders.json,sha256=
|
|
47
|
-
src/prompts/library/partnerInvoice/other/prompt.txt,sha256=
|
|
46
|
+
src/prompts/library/partnerInvoice/other/placeholders.json,sha256=igfmag8KGQ7106aSG7UHZEksO4LB-qWeq8SS8VDzckM,10894
|
|
47
|
+
src/prompts/library/partnerInvoice/other/prompt.txt,sha256=QegtgBgB6RmeAhBDguuczJ7UIqOfLnCAboYNaB7fLFI,8411
|
|
48
48
|
src/prompts/library/postprocessing/port_code/placeholders.json,sha256=2TiXf3zSzrglOMPtDOlCntIa5RSvyZQAKG2-IgrCY5A,22
|
|
49
49
|
src/prompts/library/postprocessing/port_code/prompt_port_code.txt,sha256=--1wunSqEr2ox958lEhjO-0JFBfOLzA3qfKYIzG_Iok,884
|
|
50
50
|
src/prompts/library/preprocessing/carrier/placeholders.json,sha256=tQeVDtvembhVqvel9vGoy4qcKp1hOvg-bLCgZRdQj0g,192
|
|
@@ -55,6 +55,6 @@ src/prompts/prompt_library.py,sha256=VJWHeXN-s501C2GiidIIvQQuZdU6T1R27hE2dKBiI40
|
|
|
55
55
|
src/setup.py,sha256=8-vZWjC8Iwa3xxdk3iR4412VCjtNtgzVqkXcFon7UBE,7309
|
|
56
56
|
src/tms.py,sha256=UXbIo1QE--hIX6NZi5Qyp2R_CP338syrY9pCTPrfgnE,1741
|
|
57
57
|
src/utils.py,sha256=Ow5_Jals88o8mbZ1BoHfZpHZoCfig_UQb5aalH-mpWE,17278
|
|
58
|
-
data_science_document_ai-1.
|
|
59
|
-
data_science_document_ai-1.
|
|
60
|
-
data_science_document_ai-1.
|
|
58
|
+
data_science_document_ai-1.60.0.dist-info/METADATA,sha256=dHVIkv6YQ-en4vuOYnS_7cpmujx7v0XAF058BHuF0ow,2152
|
|
59
|
+
data_science_document_ai-1.60.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
60
|
+
data_science_document_ai-1.60.0.dist-info/RECORD,,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"documentType": {"type": "STRING", "nullable": true},
|
|
33
33
|
"dueDate": {"type": "STRING", "nullable": true,
|
|
34
|
-
"description": "The date by which the payment should be made by Forto Logistics SE & Co KG.
|
|
34
|
+
"description": "The date by which the payment should be made by Forto Logistics SE & Co KG. If dueDate is not available in the invoice, calculate dueDate based on issueDate and paymentTerm."},
|
|
35
35
|
"eta": {"type": "STRING", "nullable": true,
|
|
36
36
|
"description": "Estimated Time of Arrival (ETA) is the expected date when the shipment will arrive at its destination."},
|
|
37
37
|
"etd": {"type": "STRING", "nullable": true,
|
|
@@ -46,7 +46,11 @@ Your role is to accurately extract specific entities from these invoices to supp
|
|
|
46
46
|
- CUSTOMS SUPPORT invoices do not have a vatAmount and vatPercentage.
|
|
47
47
|
|
|
48
48
|
- issueDate: The date the document was issued.
|
|
49
|
-
- dueDate:
|
|
49
|
+
- dueDate:
|
|
50
|
+
- The date by which the payment should be made. If dueDate is explicitly mentioned in the invoice, extract that value directly.
|
|
51
|
+
- If dueDate is not available in the invoice, calculate dueDate based on issueDate and paymentTerm.
|
|
52
|
+
- Example: If issueDate is 01.03.2023 and paymentTerm is 30 days, then dueDate will be 31.03.2023.
|
|
53
|
+
- If paymentTerm is not available, do not extract dueDate.
|
|
50
54
|
|
|
51
55
|
- lineItem: Details of each COGS and Customs line item on the invoice from each page. Make sure to extract each amount and currency separately.
|
|
52
56
|
- uniqueId: A unique id which associated with the lineItem as each line item can belong to a different shipment. Extract only if its available in the line item. Either a shipmentId starting with an S and followed by 6 or 8 numeric values or a mblNumber. If shipmentId or mblNumber does not exist, set it to containerNumber.
|
|
@@ -91,7 +95,7 @@ Your role is to accurately extract specific entities from these invoices to supp
|
|
|
91
95
|
- sentence: A sentence from the invoice indicating the payment status (e.g., "Vorschuss", "Prepayment", "Paid", "Partially Paid", "Unpaid"). This helps summarize the overall payment status of the invoice.
|
|
92
96
|
|
|
93
97
|
IMPORTANT NOTE:
|
|
94
|
-
- Ensure all extracted values are directly from the document. Do not make assumptions or
|
|
98
|
+
- Ensure all extracted values are directly from the document. Do not make assumptions, modifications or calculations except dueDate.
|
|
95
99
|
- CustomSized invoices contain line items in a table format in a attached page. Table with headings Shipment ID, Partner Line Item Description, Quantity, Amount, and VAT. Extract all the line items from each tables from each page.
|
|
96
100
|
- Do not normalize or modify any entity values.
|
|
97
101
|
- Pay attention to the line item details and paymentInformation, as they may vary significantly across different invoices.
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"documentType": {"type": "STRING", "nullable": true},
|
|
31
31
|
"dueDate": {"type": "STRING", "nullable": true,
|
|
32
|
-
"description": "The date by which the payment should be made by Forto Logistics SE & Co KG.
|
|
32
|
+
"description": "The date by which the payment should be made by Forto Logistics SE & Co KG. If dueDate is not available in the invoice, calculate dueDate based on issueDate and paymentTerm."},
|
|
33
33
|
"eta": {"type": "STRING", "nullable": true,
|
|
34
34
|
"description": "Estimated Time of Arrival (ETA) is the expected date when the shipment will arrive at its destination."},
|
|
35
35
|
"etd": {"type": "STRING", "nullable": true,
|
|
@@ -42,7 +42,11 @@ Your role is to accurately extract specific entities from these invoices to supp
|
|
|
42
42
|
- Remove "TVA" characters from VAT ID in MSC invoices. For example, CHE-111.954.803 TVA should be extracted as CHE-111.954.803
|
|
43
43
|
|
|
44
44
|
- issueDate: The date the document was issued.
|
|
45
|
-
- dueDate:
|
|
45
|
+
- dueDate:
|
|
46
|
+
- The date by which the payment should be made. If dueDate is explicitly mentioned in the invoice, extract that value directly.
|
|
47
|
+
- If dueDate is not available in the invoice, calculate dueDate based on issueDate and paymentTerm.
|
|
48
|
+
- Example: If issueDate is 01.03.2023 and paymentTerm is 30 days, then dueDate will be 31.03.2023.
|
|
49
|
+
- If paymentTerm is not available, do not extract dueDate.
|
|
46
50
|
|
|
47
51
|
- eta and etd: Few invoices contains same date for ARRIVED/DEPARTED or ETA/ETD. Extract it for both eta and etd.
|
|
48
52
|
|
|
@@ -81,7 +85,7 @@ Your role is to accurately extract specific entities from these invoices to supp
|
|
|
81
85
|
- reverseChargeSentence: A sentence which indicate that the reverse charge applies. Mostly fund as Tax Clause.
|
|
82
86
|
|
|
83
87
|
IMPORTANT NOTE:
|
|
84
|
-
- Ensure all extracted values are directly from the document. Do not make assumptions, modifications or calculations.
|
|
88
|
+
- Ensure all extracted values are directly from the document. Do not make assumptions, modifications or calculations except dueDate.
|
|
85
89
|
- CustomSized invoices contain line items in a table format in the attached page. Table with headings Shipment ID, Partner Line Item Description, Quantity, Amount, and VAT. Extract all the line items from such tables from each page.
|
|
86
90
|
- Do not split the quantity into different line items. e.g., if quantity is 2 or 2 CTR or 2 BIL, do not create 2 separate line items with quantity 1 each.
|
|
87
91
|
- Do not normalize or modify any entity values.
|
{data_science_document_ai-1.59.0.dist-info → data_science_document_ai-1.60.0.dist-info}/WHEEL
RENAMED
|
File without changes
|