Spaces:
Runtime error
Runtime error
Update backend/worker/prompts.py
Browse files
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","
|
| 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 |
+
"""
|