data-science-document-ai 1.50.0__py3-none-any.whl → 1.51.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: data-science-document-ai
3
- Version: 1.50.0
3
+ Version: 1.51.1
4
4
  Summary: "Document AI repo for data science"
5
5
  Author: Naomi Nguyen
6
6
  Author-email: naomi.nguyen@forto.com
@@ -27,8 +27,8 @@ src/prompts/library/bookingConfirmation/other/placeholders.json,sha256=IpM9nmSPd
27
27
  src/prompts/library/bookingConfirmation/other/prompt.txt,sha256=kUK7NgVNDYFMnqOcIblCwWSw2SC0YQEtHsYrspiVUMo,3379
28
28
  src/prompts/library/bookingConfirmation/yangming/placeholders.json,sha256=IpM9nmSPdyroliZfXB1-NDCjiHZX_Ff5BH7-scNhGqE,1406
29
29
  src/prompts/library/bookingConfirmation/yangming/prompt.txt,sha256=fYKfusDajDFw0v54-nv2iAqUSp2yCeOzc6G7AFe-h2w,3226
30
- src/prompts/library/bundeskasse/other/placeholders.json,sha256=eSIVplLYCseVN17tygyV5TyheJtOTeybfJzFfKyPuUE,4275
31
- src/prompts/library/bundeskasse/other/prompt.txt,sha256=55b-umkE1648V-UoT-3UJjDEzs53TGQNZaOwVCjQPyc,3089
30
+ src/prompts/library/bundeskasse/other/placeholders.json,sha256=7xKzi_ypkIICO9nrEl45W9G7-h33uWVRVWnpg2b5lUg,4288
31
+ src/prompts/library/bundeskasse/other/prompt.txt,sha256=miNYoqRZEd6Z1LNisTahX1-tenzr5kEpRA6gvPH7NCw,3316
32
32
  src/prompts/library/commercialInvoice/other/placeholders.json,sha256=zUK2mg9MnHiEQRYF6VgTiUiq68WGy5f7_4qL63CWyR0,4700
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
@@ -55,6 +55,6 @@ src/prompts/prompt_library.py,sha256=VJWHeXN-s501C2GiidIIvQQuZdU6T1R27hE2dKBiI40
55
55
  src/setup.py,sha256=EHfAl3Pvb082dl_s6Tk93IjtE3vBmrW_fp2GW4955HQ,6952
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.50.0.dist-info/METADATA,sha256=_e_1gpRkzKH5RvZ7yKUfbMNtvWH5Hc-0xS1Gyeq4FUQ,2152
59
- data_science_document_ai-1.50.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
60
- data_science_document_ai-1.50.0.dist-info/RECORD,,
58
+ data_science_document_ai-1.51.1.dist-info/METADATA,sha256=vJ9ivHgPOvyMkfqtL2893McNMupkNvNHYJd95IF4CMQ,2152
59
+ data_science_document_ai-1.51.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
60
+ data_science_document_ai-1.51.1.dist-info/RECORD,,
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "type": "OBJECT",
3
3
  "properties": {
4
- "currencyCode": {
4
+ "grandTotal": {
5
5
  "type": "STRING",
6
6
  "nullable": true,
7
- "description": "The currency in which the invoice is issued. Extract the currency associated with the grand total amount. It is majorly mentioned as EUR, Euro or €."
7
+ "description": "The overall total amount of the invoice. It can be found with the key words Gesamtabgabenbetrag, Gesamtbetrag, or Zu erstattender Abgabenbetrag"
8
8
  },
9
- "grandTotal": {
9
+ "currencyCode": {
10
10
  "type": "STRING",
11
11
  "nullable": true,
12
- "description": "The overall total amount of the invoice. It can be found with the key words Gesamtabgabenbetrag, Gesamtbetrag, or Zu erstattender Abgabenbetrag"
12
+ "description": "The currency in which the invoice is issued. Extract the currency associated with the grand total (grandTotal) amount. It is majorly mentioned as EUR, Euro or €."
13
13
  },
14
14
  "issueDate": {
15
15
  "type": "STRING",
@@ -13,6 +13,7 @@ Your role is to accurately extract specific entities from these Customs invoices
13
13
  - Populate fields as defined in the response schema.
14
14
  - Multiple line item entries may exist, capture all instances under "lineItem".
15
15
  - Use the data field description to understand the context of the data.
16
+ - The amount and the currency is always in EUR both for grandTotal and line items.
16
17
 
17
18
  - containerNumber:
18
19
  - Container Number consists of 4 capital letters followed by 7 digits (e.g., TEMU7972458, CAIU7222892).
@@ -39,9 +40,8 @@ Your role is to accurately extract specific entities from these Customs invoices
39
40
  - issueDate can also be referred to as "Einfuhrabgabenbescheid" in the invoice. issueDate and serviceDate can be same in some cases.
40
41
  - vendor details can be "Hauptzollamt" details in the top portion of the invoice.
41
42
 
42
- - lineItem:
43
- - Each line item should be extracted only once
44
- - totalAmount in the Credit Note is the Differenzbetrag in the line items.
43
+ - lineItem: Each line item should be extracted only once. Give priority to the first occurrence of the line item details in the document.
44
+ - totalAmount in the Credit Note is the Differenzbetrag in the line items. The totalAmount value is always or mostly mentioned in EUR currency.
45
45
  - deferredDutyPayer can be identified under "Aufschubenhmer" for each line item. It is a combination of number code and entity.
46
46
 
47
47
  You can usually find all the information in the top 2 pages of the invoice.