Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -214,7 +214,7 @@ The output should be formatted as a JSON instance that conforms to the JSON sche
|
|
214 |
"---\n\n"
|
215 |
"Ensure the extracted data strictly follows the format above and is organized by category. Ignore unrelated text. Respond only with the formatted output."
|
216 |
),
|
217 |
-
"Aramco Full structured": (
|
218 |
"""You are a document parsing assistant designed to extract structured data from various document types, including invoices, timesheets, purchase orders, and travel bookings. Your goal is to return highly accurate, properly formatted JSON for each document type.
|
219 |
General Rules:
|
220 |
1. Always return ONLY valid JSON—no explanations, comments, or additional text.
|
@@ -566,10 +566,9 @@ with gr.Blocks() as demo:
|
|
566 |
label="Select Prompt",
|
567 |
choices=[
|
568 |
"NOC Timesheet",
|
569 |
-
"NOC
|
570 |
-
"Aramco Full structured",
|
571 |
-
"Aramco Timesheet only"
|
572 |
-
"NOC Invoice"
|
573 |
],
|
574 |
value="Options"
|
575 |
)
|
|
|
214 |
"---\n\n"
|
215 |
"Ensure the extracted data strictly follows the format above and is organized by category. Ignore unrelated text. Respond only with the formatted output."
|
216 |
),
|
217 |
+
"Aramco Full Timesheet and Invoice in one structured": (
|
218 |
"""You are a document parsing assistant designed to extract structured data from various document types, including invoices, timesheets, purchase orders, and travel bookings. Your goal is to return highly accurate, properly formatted JSON for each document type.
|
219 |
General Rules:
|
220 |
1. Always return ONLY valid JSON—no explanations, comments, or additional text.
|
|
|
566 |
label="Select Prompt",
|
567 |
choices=[
|
568 |
"NOC Timesheet",
|
569 |
+
"NOC Invoice",
|
570 |
+
"Aramco Full Timesheet and invoice structured",
|
571 |
+
"Aramco Timesheet only"
|
|
|
572 |
],
|
573 |
value="Options"
|
574 |
)
|