Avinashnalla7 commited on
Commit
9c38ecb
·
verified ·
1 Parent(s): 5958bb8

Update backend/worker/prompts.py

Browse files
Files changed (1) hide show
  1. backend/worker/prompts.py +3 -3
backend/worker/prompts.py CHANGED
@@ -71,9 +71,9 @@ Output JSON shape (strict):
71
  "label": "Items / Line Items",
72
  "type": "table",
73
  "table_hint": {{
74
- "expected_columns": ["item_number","description","qty","lot_number","price","extended_price"],
75
  "where_on_page": "<short description>",
76
- "header_text_examples": ["Item Number","Description","Qty"]
77
  }}
78
  }}
79
  ]
@@ -84,4 +84,4 @@ Output JSON shape (strict):
84
  USER_PROMPT = """
85
  Classify the form template and generate trainer_schema based on the provided page images.
86
  Focus on printed structure, titles, logos, and table headers.
87
- """
 
71
  "label": "Items / Line Items",
72
  "type": "table",
73
  "table_hint": {{
74
+ "expected_columns": ["item_number","lot_number","description","qty","price","total","bundle"],
75
  "where_on_page": "<short description>",
76
+ "header_text_examples": ["Item Number","Description","Qty","Total","Bundle"]
77
  }}
78
  }}
79
  ]
 
84
  USER_PROMPT = """
85
  Classify the form template and generate trainer_schema based on the provided page images.
86
  Focus on printed structure, titles, logos, and table headers.
87
+ """