rmeoved neted custom fields
This commit is contained in:
@@ -10,12 +10,12 @@ Analyze the document and return ONLY valid JSON. Do not include explanations, co
|
||||
|
||||
### CUSTOM FIELDS (TEXT ONLY)
|
||||
- All custom fields must be nested under "custom_fields".
|
||||
- language: ISO code string (de, en, el, fr, it, es).
|
||||
- document_type: precise classification (Invoice, Contract, Authorization, etc.) as string.
|
||||
- total_amount: string of digits (e.g., "319"); use "0" if not found.
|
||||
- invoice_number: string ("" if not found).
|
||||
- translated_summary_de:
|
||||
- If the document language is NOT German, provide a 3–6 sentence German summary.
|
||||
- language: ISO code string (de, en, el, fr, it, es). (field 1)
|
||||
- document_type: precise classification (Invoice, Contract, Authorization, etc.) as string. (field 2)
|
||||
- total_amount: string of digits (e.g., "319"); use "0" if not found. (field 7)
|
||||
- invoice_number: string ("" if not found). (field 4)
|
||||
- translated_summary_de: (field 8)
|
||||
- If the document language is NOT German, provide a 2–3 sentence German summary.
|
||||
- If German: return "Dokument ist bereits auf Deutsch."
|
||||
|
||||
- NEVER use null, N/A, or other placeholders. All values must be strings.
|
||||
@@ -26,11 +26,10 @@ Analyze the document and return ONLY valid JSON. Do not include explanations, co
|
||||
"correspondent": "Sender name only",
|
||||
"tags": [],
|
||||
"document_date": "YYYY-MM-DD",
|
||||
"custom_fields": {
|
||||
"language": "",
|
||||
"document_type": "",
|
||||
"total_amount": "",
|
||||
"invoice_number": "",
|
||||
"translated_summary_de": ""
|
||||
}
|
||||
"language": "",
|
||||
"document_type": "",
|
||||
"total_amount": "",
|
||||
"invoice_number": "",
|
||||
"translated_summary_de": ""
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user