Seth0330 commited on
Commit
0cd3c51
·
verified ·
1 Parent(s): 5959a3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,8 +119,8 @@ def get_extraction_prompt(model_choice, txt):
119
  "Merge all multi-line content within a single cell into that field (especially for the 'description' and 'notes'). "
120
  "Shipment/invoice-level fields such as CAR NUMBER, SHIPPING POINT, SHIPMENT NUMBER, CURRENCY, etc., must go ONLY into the 'invoice_header', not as line item fields.\n"
121
 
122
- **For example, if the source document shows Payment Terms: 1% 10 ADI, ADF, NET 20 DAYS
123
- **Do not alter the sequence, combine, or separate phrases in any way.
124
 
125
  Discount Extraction:
126
  Extract only fields explicitly labeled "Discount", "Special Discount", "Rebate", or "Early Payment Discount".
 
119
  "Merge all multi-line content within a single cell into that field (especially for the 'description' and 'notes'). "
120
  "Shipment/invoice-level fields such as CAR NUMBER, SHIPPING POINT, SHIPMENT NUMBER, CURRENCY, etc., must go ONLY into the 'invoice_header', not as line item fields.\n"
121
 
122
+ '**For example, if the source document shows Payment Terms: 1% 10 ADI, ADF, NET 20 DAYS'
123
+ '**Do not alter the sequence, combine, or separate phrases in any way.'
124
 
125
  Discount Extraction:
126
  Extract only fields explicitly labeled "Discount", "Special Discount", "Rebate", or "Early Payment Discount".