Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def system_prompt() -> str:
|
|
21 |
1. For total_cost, use the highest monetary value in the text.
|
22 |
2. Customer_Details will consist of another json object consisting the keys Customer_Name,Customer_Address,Email Address,Phone Number,Customer ID,Billing Address,Shipping Address,Account Number,Tax ID/VAT Number,Company Name,Payment Method.
|
23 |
3. Look carefully for any address labeled as "Bill To" or "Billing Address".Look for this on the left side of the layout.
|
24 |
-
4.Look carefully for any address labeled as "Ship To" or "Shipping Address".Look for this on the
|
25 |
5.Products will consist of another json object consisting of keys Product_name_1,quantity,unit_price.
|
26 |
6. If any value is not found, return null.
|
27 |
7. If all values are null, return null.
|
|
|
21 |
1. For total_cost, use the highest monetary value in the text.
|
22 |
2. Customer_Details will consist of another json object consisting the keys Customer_Name,Customer_Address,Email Address,Phone Number,Customer ID,Billing Address,Shipping Address,Account Number,Tax ID/VAT Number,Company Name,Payment Method.
|
23 |
3. Look carefully for any address labeled as "Bill To" or "Billing Address".Look for this on the left side of the layout.
|
24 |
+
4.Look carefully for any address labeled as "Ship To" or "Shipping Address".Look for this on the left side of the layout
|
25 |
5.Products will consist of another json object consisting of keys Product_name_1,quantity,unit_price.
|
26 |
6. If any value is not found, return null.
|
27 |
7. If all values are null, return null.
|