Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

41.5 KB
Raw Blame
{
	"note": "The three arms of the second-pass experiment, fixed before any call. Generated by build_experiment.py from ../inputs.json. Do not edit by hand.",
	"model": "Qwen/Qwen3.8-27B-FP8",
	"max_new_tokens": 2048,
	"stage_one_prompt": "Extract the document fields described by the JSON schema. Return only the JSON object.",
	"arms": {
		"a1": {
			"label": "One call, described schema",
			"path": "/v1/generate",
			"prompt": "Extract the document fields described by the JSON schema. Return only the JSON object.",
			"sends_image": true,
			"sends_stage_one": false,
			"schemas": {
				"faa-8130-3": {
					"type": "object",
					"properties": {
						"form_tracking_number": {
							"type": "string",
							"description": "Block 3 form tracking number, exactly as printed"
						},
						"organization_name": {
							"type": "string",
							"description": "Block 4 organization name, without the address"
						},
						"work_order_number": {
							"type": "string",
							"description": "Block 5 work order, contract or invoice number"
						},
						"item_description": {
							"type": "string",
							"description": "Block 7 description"
						},
						"part_number": {
							"type": "string",
							"description": "Block 8 part number"
						},
						"quantity": {
							"type": "integer",
							"description": "Block 9 quantity"
						},
						"serial_number": {
							"type": "string",
							"description": "Block 10 serial number, or N/A when none is given"
						},
						"status_work": {
							"type": "string",
							"description": "Block 11 status or work, exactly as printed"
						},
						"remarks": {
							"type": "string",
							"description": "Block 12 remarks, exactly as printed"
						},
						"block_13a_approved_design_data_checked": {
							"type": "boolean",
							"description": "True only when the block 13a approved design data box carries a mark"
						},
						"block_13a_non_approved_design_data_checked": {
							"type": "boolean",
							"description": "True only when the block 13a non-approved design data box carries a mark"
						},
						"block_14a_return_to_service_checked": {
							"type": "boolean",
							"description": "True only when the block 14a 14 CFR 43.9 return to service box carries a mark"
						},
						"block_14a_other_regulation_checked": {
							"type": "boolean",
							"description": "True only when the block 14a other regulation box carries a mark"
						},
						"approval_number": {
							"type": "string",
							"description": "Block 13c or 14c, whichever is filled"
						},
						"signer_name": {
							"type": "string",
							"description": "Block 13d or 14d printed name, without a title"
						},
						"signature_date": {
							"type": "string",
							"description": "Block 13e or 14e date, exactly as printed"
						}
					},
					"required": [
						"form_tracking_number",
						"organization_name",
						"work_order_number",
						"item_description",
						"part_number",
						"quantity",
						"serial_number",
						"status_work",
						"remarks",
						"block_13a_approved_design_data_checked",
						"block_13a_non_approved_design_data_checked",
						"block_14a_return_to_service_checked",
						"block_14a_other_regulation_checked",
						"approval_number",
						"signer_name",
						"signature_date"
					]
				},
				"osha-300": {
					"type": "object",
					"properties": {
						"establishment_name": {
							"type": "string",
							"description": "Establishment name only, without the city or state"
						},
						"city": {
							"type": "string",
							"description": "City only"
						},
						"state": {
							"type": "string",
							"description": "State only"
						},
						"cases": {
							"type": "array",
							"description": "One entry per filled row",
							"items": {
								"type": "object",
								"properties": {
									"case_number": {
										"type": "integer",
										"description": "Column A case number"
									},
									"employee_name": {
										"type": "string",
										"description": "Column B employee name, copied character for character from the log"
									},
									"job_title": {
										"type": "string",
										"description": "Column C job title"
									},
									"date_of_injury": {
										"type": "string",
										"description": "month/day as written"
									},
									"location": {
										"type": "string",
										"description": "Column E where the event occurred"
									},
									"description": {
										"type": "string",
										"description": "Column F description of injury or illness"
									},
									"outcome": {
										"type": "string",
										"enum": [
											"death",
											"days_away_from_work",
											"job_transfer_or_restriction",
											"other_recordable"
										],
										"description": "The single most serious outcome ticked in columns G to J: death, days away from work, job transfer or restriction, or other recordable"
									},
									"days_away_from_work": {
										"type": "integer",
										"description": "0 when blank"
									},
									"days_job_transfer_or_restriction": {
										"type": "integer",
										"description": "0 when blank"
									},
									"case_type": {
										"type": "string",
										"enum": [
											"injury",
											"skin_disorder",
											"respiratory_condition",
											"poisoning",
											"hearing_loss",
											"all_other_illnesses"
										],
										"description": "The illness or injury type ticked in columns M1 to M6; poisoning and hearing loss are not injury"
									}
								},
								"required": [
									"case_number",
									"employee_name",
									"job_title",
									"date_of_injury",
									"location",
									"description",
									"outcome",
									"days_away_from_work",
									"days_job_transfer_or_restriction",
									"case_type"
								]
							}
						}
					},
					"required": [
						"establishment_name",
						"city",
						"state",
						"cases"
					]
				},
				"nist-certificate": {
					"type": "object",
					"properties": {
						"srm_number": {
							"type": "string",
							"description": "The SRM number alone, digits and any letter suffix, without the letters SRM"
						},
						"certified_values": {
							"type": "array",
							"description": "Rows of Table 1, certified mass fraction values",
							"items": {
								"type": "object",
								"properties": {
									"element": {
										"type": "string",
										"description": "The element name alone, with no chemical symbol and no parentheses"
									},
									"symbol": {
										"type": "string",
										"description": "The chemical symbol alone, one or two letters"
									},
									"mass_fraction_percent": {
										"type": "number",
										"description": "The certified mass fraction in percent, the value before the plus-or-minus sign"
									},
									"expanded_uncertainty_percent": {
										"type": "number",
										"description": "The expanded uncertainty in percent, the value after the plus-or-minus sign"
									},
									"coverage_factor_k": {
										"type": "number",
										"description": "The coverage factor k for this row"
									}
								},
								"required": [
									"element",
									"symbol",
									"mass_fraction_percent",
									"expanded_uncertainty_percent",
									"coverage_factor_k"
								]
							}
						}
					},
					"required": [
						"srm_number",
						"certified_values"
					]
				},
				"invoice": {
					"type": "object",
					"properties": {
						"invoice_number": {
							"type": "string",
							"description": "Invoice number, exactly as printed"
						},
						"invoice_date": {
							"type": "string",
							"description": "Invoice date, exactly as printed"
						},
						"customer_id": {
							"type": "string",
							"description": "Customer or account identifier"
						},
						"sold_to": {
							"type": "string",
							"description": "Organization name only"
						},
						"line_items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"quantity": {
										"type": "integer",
										"description": "Quantity ordered"
									},
									"item": {
										"type": "string",
										"description": "Item or product code"
									},
									"unit_of_measure": {
										"type": "string",
										"description": "Unit of measure"
									},
									"media_description": {
										"type": "string",
										"description": "Description of what was supplied"
									},
									"amount": {
										"type": "number",
										"description": "Line amount"
									}
								},
								"required": [
									"quantity",
									"item",
									"unit_of_measure",
									"media_description",
									"amount"
								]
							}
						},
						"subtotal": {
							"type": "number",
							"description": "Subtotal before tax"
						},
						"sales_tax": {
							"type": "number",
							"description": "Sales tax charged"
						},
						"amount_due": {
							"type": "number",
							"description": "Amount due"
						},
						"currency": {
							"type": "string",
							"description": "Three-letter currency code"
						},
						"payment_terms": {
							"type": "string",
							"description": "Payment terms, exactly as printed and nothing else"
						},
						"due_date": {
							"type": "string",
							"description": "Payment due date, exactly as printed"
						},
						"remit_to": {
							"type": "string",
							"description": "Payee name for checks"
						},
						"credit_card_type_checked": {
							"type": "string",
							"enum": [
								"visa",
								"mastercard",
								"amex",
								"other",
								"none"
							],
							"description": "The card type whose box is ticked; none when no card box is ticked, even where card types are listed"
						}
					},
					"required": [
						"invoice_number",
						"invoice_date",
						"customer_id",
						"sold_to",
						"line_items",
						"subtotal",
						"sales_tax",
						"amount_due",
						"currency",
						"payment_terms",
						"due_date",
						"remit_to",
						"credit_card_type_checked"
					]
				},
				"customs-cn22": {
					"type": "object",
					"properties": {
						"tracking_number": {
							"type": "string",
							"description": "Tracking or article number"
						},
						"contents_category": {
							"type": "string",
							"enum": [
								"gift",
								"documents",
								"commercial_sample",
								"returned_goods",
								"other"
							],
							"description": "The contents category ticked on the CN 22"
						},
						"sender_name": {
							"type": "string",
							"description": "Sender name only"
						},
						"sender_address": {
							"type": "string",
							"description": "Sender street, city, state and postal code, without the sender name"
						},
						"destination_city": {
							"type": "string",
							"description": "Destination city name alone, without the postal code"
						},
						"destination_postal_code": {
							"type": "string",
							"description": "Destination postal code alone"
						},
						"destination_country": {
							"type": "string",
							"description": "Destination country"
						},
						"items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"description": {
										"type": "string",
										"description": "Item description"
									},
									"quantity": {
										"type": "integer",
										"description": "Item quantity"
									},
									"weight_lb": {
										"type": "integer",
										"description": "Item weight, whole pounds"
									},
									"weight_oz": {
										"type": "integer",
										"description": "Item weight, remaining ounces"
									},
									"value_usd": {
										"type": "number",
										"description": "Item value in US dollars"
									}
								},
								"required": [
									"description",
									"quantity",
									"weight_lb",
									"weight_oz",
									"value_usd"
								]
							}
						},
						"total_weight_lb": {
							"type": "integer",
							"description": "Total weight, whole pounds"
						},
						"total_weight_oz": {
							"type": "integer",
							"description": "Total weight, remaining ounces"
						},
						"total_value_usd": {
							"type": "number",
							"description": "Total value in US dollars"
						},
						"country_of_origin": {
							"type": "string",
							"description": "Country of origin"
						},
						"declaration_date": {
							"type": "string",
							"description": "Declaration date, exactly as printed"
						}
					},
					"required": [
						"tracking_number",
						"contents_category",
						"sender_name",
						"sender_address",
						"destination_city",
						"destination_postal_code",
						"destination_country",
						"items",
						"total_weight_lb",
						"total_weight_oz",
						"total_value_usd",
						"country_of_origin",
						"declaration_date"
					]
				},
				"electricity-bill": {
					"type": "object",
					"properties": {
						"meter_number": {
							"type": "string",
							"description": "Meter number"
						},
						"meter_readings": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"register_type": {
										"type": "string",
										"description": "Register or tariff name for this reading row"
									},
									"current_reading": {
										"type": "integer",
										"description": "The later of the two register readings, the one the current consumption is measured to"
									},
									"previous_reading": {
										"type": "integer",
										"description": "The earlier of the two register readings, the one the current consumption is measured from"
									},
									"consumption_kwh": {
										"type": "integer",
										"description": "Consumption in kWh for this register"
									}
								},
								"required": [
									"register_type",
									"current_reading",
									"previous_reading",
									"consumption_kwh"
								]
							}
						},
						"contracted_power_kva": {
							"type": "number",
							"description": "Contracted power in kVA"
						},
						"next_reading_from": {
							"type": "string",
							"description": "Start of the next reading window, exactly as printed"
						},
						"next_reading_to": {
							"type": "string",
							"description": "End of the next reading window, exactly as printed"
						},
						"supply_charges_eur": {
							"type": "number",
							"description": "Electricity supply charges subtotal"
						},
						"regulated_charges_eur": {
							"type": "number",
							"description": "Regulated charges subtotal"
						},
						"electricity_amount_eur": {
							"type": "number",
							"description": "Amount payable for electricity before VAT"
						},
						"vat_rate_percent": {
							"type": "number",
							"description": "VAT rate in percent"
						},
						"vat_eur": {
							"type": "number",
							"description": "VAT charged in euro on the electricity amount"
						},
						"electricity_total_with_vat_eur": {
							"type": "number",
							"description": "Electricity amount including VAT"
						},
						"municipal_charges_eur": {
							"type": "number",
							"description": "Municipal charges subtotal"
						},
						"ert_fee_eur": {
							"type": "number",
							"description": "ERT public broadcaster fee"
						},
						"previous_unpaid_eur": {
							"type": "number",
							"description": "Previous balance carried forward and still unpaid"
						},
						"total_due_eur": {
							"type": "number",
							"description": "Total amount due"
						}
					},
					"required": [
						"meter_number",
						"meter_readings",
						"contracted_power_kva",
						"next_reading_from",
						"next_reading_to",
						"supply_charges_eur",
						"regulated_charges_eur",
						"electricity_amount_eur",
						"vat_rate_percent",
						"vat_eur",
						"electricity_total_with_vat_eur",
						"municipal_charges_eur",
						"ert_fee_eur",
						"previous_unpaid_eur",
						"total_due_eur"
					]
				},
				"store-receipt": {
					"type": "object",
					"properties": {
						"merchant": {
							"type": "string",
							"description": "Merchant name"
						},
						"store_phone": {
							"type": "string",
							"description": "Store telephone number printed on this receipt"
						},
						"store_address": {
							"type": "string",
							"description": "Street, city, state and ZIP"
						},
						"store_number": {
							"type": "string",
							"description": "Store number"
						},
						"purchase_date": {
							"type": "string",
							"description": "Purchase date, exactly as printed"
						},
						"subtotal": {
							"type": "number",
							"description": "Subtotal of all items before tax, not a single line"
						},
						"tax_rate_percent": {
							"type": "number",
							"description": "Tax rate in percent"
						},
						"tax": {
							"type": "number",
							"description": "Total tax charged"
						},
						"total": {
							"type": "number",
							"description": "Grand total charged, the figure the subtotal and tax add up to"
						},
						"payment_method": {
							"type": "string",
							"enum": [
								"cash",
								"credit",
								"debit",
								"ebt",
								"gift_card"
							],
							"description": "How the purchase was paid"
						},
						"items_sold": {
							"type": "integer",
							"description": "The items-sold count printed on the receipt"
						}
					},
					"required": [
						"merchant",
						"store_phone",
						"store_address",
						"store_number",
						"purchase_date",
						"subtotal",
						"tax_rate_percent",
						"tax",
						"total",
						"payment_method",
						"items_sold"
					]
				}
			}
		},
		"a2": {
			"label": "Second call, no image",
			"path": "/v1/chat/completions",
			"prompt": "A first pass filled this JSON schema from a document. Each value must contain only what its own field is for, and nothing that belongs to another field or to no field. Return the same object with every such value corrected. Do not invent, and do not change a value you cannot correct from the field names and descriptions alone. Return only the JSON object.",
			"sends_image": false,
			"sends_stage_one": true,
			"schemas": {
				"faa-8130-3": {
					"type": "object",
					"properties": {
						"form_tracking_number": {
							"type": "string"
						},
						"organization_name": {
							"type": "string",
							"description": "Block 4 organization name, without the address"
						},
						"work_order_number": {
							"type": "string"
						},
						"item_description": {
							"type": "string"
						},
						"part_number": {
							"type": "string"
						},
						"quantity": {
							"type": "integer"
						},
						"serial_number": {
							"type": "string"
						},
						"status_work": {
							"type": "string"
						},
						"remarks": {
							"type": "string"
						},
						"block_13a_approved_design_data_checked": {
							"type": "boolean"
						},
						"block_13a_non_approved_design_data_checked": {
							"type": "boolean"
						},
						"block_14a_return_to_service_checked": {
							"type": "boolean"
						},
						"block_14a_other_regulation_checked": {
							"type": "boolean"
						},
						"approval_number": {
							"type": "string",
							"description": "Block 13c or 14c, whichever is filled"
						},
						"signer_name": {
							"type": "string"
						},
						"signature_date": {
							"type": "string"
						}
					},
					"required": [
						"form_tracking_number",
						"organization_name",
						"work_order_number",
						"item_description",
						"part_number",
						"quantity",
						"serial_number",
						"status_work",
						"remarks",
						"block_13a_approved_design_data_checked",
						"block_13a_non_approved_design_data_checked",
						"block_14a_return_to_service_checked",
						"block_14a_other_regulation_checked",
						"approval_number",
						"signer_name",
						"signature_date"
					]
				},
				"osha-300": {
					"type": "object",
					"properties": {
						"establishment_name": {
							"type": "string"
						},
						"city": {
							"type": "string"
						},
						"state": {
							"type": "string"
						},
						"cases": {
							"type": "array",
							"description": "One entry per filled row",
							"items": {
								"type": "object",
								"properties": {
									"case_number": {
										"type": "integer"
									},
									"employee_name": {
										"type": "string"
									},
									"job_title": {
										"type": "string"
									},
									"date_of_injury": {
										"type": "string",
										"description": "month/day as written"
									},
									"location": {
										"type": "string"
									},
									"description": {
										"type": "string"
									},
									"outcome": {
										"type": "string",
										"enum": [
											"death",
											"days_away_from_work",
											"job_transfer_or_restriction",
											"other_recordable"
										]
									},
									"days_away_from_work": {
										"type": "integer",
										"description": "0 when blank"
									},
									"days_job_transfer_or_restriction": {
										"type": "integer",
										"description": "0 when blank"
									},
									"case_type": {
										"type": "string",
										"enum": [
											"injury",
											"skin_disorder",
											"respiratory_condition",
											"poisoning",
											"hearing_loss",
											"all_other_illnesses"
										]
									}
								},
								"required": [
									"case_number",
									"employee_name",
									"job_title",
									"date_of_injury",
									"location",
									"description",
									"outcome",
									"days_away_from_work",
									"days_job_transfer_or_restriction",
									"case_type"
								]
							}
						}
					},
					"required": [
						"establishment_name",
						"city",
						"state",
						"cases"
					]
				},
				"nist-certificate": {
					"type": "object",
					"properties": {
						"srm_number": {
							"type": "string"
						},
						"certified_values": {
							"type": "array",
							"description": "Rows of Table 1, certified mass fraction values",
							"items": {
								"type": "object",
								"properties": {
									"element": {
										"type": "string"
									},
									"symbol": {
										"type": "string"
									},
									"mass_fraction_percent": {
										"type": "number"
									},
									"expanded_uncertainty_percent": {
										"type": "number"
									},
									"coverage_factor_k": {
										"type": "number"
									}
								},
								"required": [
									"element",
									"symbol",
									"mass_fraction_percent",
									"expanded_uncertainty_percent",
									"coverage_factor_k"
								]
							}
						}
					},
					"required": [
						"srm_number",
						"certified_values"
					]
				},
				"invoice": {
					"type": "object",
					"properties": {
						"invoice_number": {
							"type": "string"
						},
						"invoice_date": {
							"type": "string"
						},
						"customer_id": {
							"type": "string"
						},
						"sold_to": {
							"type": "string",
							"description": "Organization name only"
						},
						"line_items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"quantity": {
										"type": "integer"
									},
									"item": {
										"type": "string"
									},
									"unit_of_measure": {
										"type": "string"
									},
									"media_description": {
										"type": "string"
									},
									"amount": {
										"type": "number"
									}
								},
								"required": [
									"quantity",
									"item",
									"unit_of_measure",
									"media_description",
									"amount"
								]
							}
						},
						"subtotal": {
							"type": "number"
						},
						"sales_tax": {
							"type": "number"
						},
						"amount_due": {
							"type": "number"
						},
						"currency": {
							"type": "string"
						},
						"payment_terms": {
							"type": "string"
						},
						"due_date": {
							"type": "string"
						},
						"remit_to": {
							"type": "string",
							"description": "Payee name for checks"
						},
						"credit_card_type_checked": {
							"type": "string",
							"enum": [
								"visa",
								"mastercard",
								"amex",
								"other",
								"none"
							]
						}
					},
					"required": [
						"invoice_number",
						"invoice_date",
						"customer_id",
						"sold_to",
						"line_items",
						"subtotal",
						"sales_tax",
						"amount_due",
						"currency",
						"payment_terms",
						"due_date",
						"remit_to",
						"credit_card_type_checked"
					]
				},
				"customs-cn22": {
					"type": "object",
					"properties": {
						"tracking_number": {
							"type": "string"
						},
						"contents_category": {
							"type": "string",
							"enum": [
								"gift",
								"documents",
								"commercial_sample",
								"returned_goods",
								"other"
							]
						},
						"sender_name": {
							"type": "string"
						},
						"sender_address": {
							"type": "string"
						},
						"destination_city": {
							"type": "string"
						},
						"destination_postal_code": {
							"type": "string"
						},
						"destination_country": {
							"type": "string"
						},
						"items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"description": {
										"type": "string"
									},
									"quantity": {
										"type": "integer"
									},
									"weight_lb": {
										"type": "integer"
									},
									"weight_oz": {
										"type": "integer"
									},
									"value_usd": {
										"type": "number"
									}
								},
								"required": [
									"description",
									"quantity",
									"weight_lb",
									"weight_oz",
									"value_usd"
								]
							}
						},
						"total_weight_lb": {
							"type": "integer"
						},
						"total_weight_oz": {
							"type": "integer"
						},
						"total_value_usd": {
							"type": "number"
						},
						"country_of_origin": {
							"type": "string"
						},
						"declaration_date": {
							"type": "string"
						}
					},
					"required": [
						"tracking_number",
						"contents_category",
						"sender_name",
						"sender_address",
						"destination_city",
						"destination_postal_code",
						"destination_country",
						"items",
						"total_weight_lb",
						"total_weight_oz",
						"total_value_usd",
						"country_of_origin",
						"declaration_date"
					]
				},
				"electricity-bill": {
					"type": "object",
					"properties": {
						"meter_number": {
							"type": "string"
						},
						"meter_readings": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"register_type": {
										"type": "string"
									},
									"current_reading": {
										"type": "integer"
									},
									"previous_reading": {
										"type": "integer"
									},
									"consumption_kwh": {
										"type": "integer"
									}
								},
								"required": [
									"register_type",
									"current_reading",
									"previous_reading",
									"consumption_kwh"
								]
							}
						},
						"contracted_power_kva": {
							"type": "number"
						},
						"next_reading_from": {
							"type": "string"
						},
						"next_reading_to": {
							"type": "string"
						},
						"supply_charges_eur": {
							"type": "number",
							"description": "Electricity supply charges subtotal"
						},
						"regulated_charges_eur": {
							"type": "number",
							"description": "Regulated charges subtotal"
						},
						"electricity_amount_eur": {
							"type": "number",
							"description": "Amount payable for electricity before VAT"
						},
						"vat_rate_percent": {
							"type": "number"
						},
						"vat_eur": {
							"type": "number"
						},
						"electricity_total_with_vat_eur": {
							"type": "number"
						},
						"municipal_charges_eur": {
							"type": "number",
							"description": "Municipal charges subtotal"
						},
						"ert_fee_eur": {
							"type": "number",
							"description": "ERT public broadcaster fee"
						},
						"previous_unpaid_eur": {
							"type": "number"
						},
						"total_due_eur": {
							"type": "number"
						}
					},
					"required": [
						"meter_number",
						"meter_readings",
						"contracted_power_kva",
						"next_reading_from",
						"next_reading_to",
						"supply_charges_eur",
						"regulated_charges_eur",
						"electricity_amount_eur",
						"vat_rate_percent",
						"vat_eur",
						"electricity_total_with_vat_eur",
						"municipal_charges_eur",
						"ert_fee_eur",
						"previous_unpaid_eur",
						"total_due_eur"
					]
				},
				"store-receipt": {
					"type": "object",
					"properties": {
						"merchant": {
							"type": "string"
						},
						"store_phone": {
							"type": "string"
						},
						"store_address": {
							"type": "string",
							"description": "Street, city, state and ZIP"
						},
						"store_number": {
							"type": "string"
						},
						"purchase_date": {
							"type": "string"
						},
						"subtotal": {
							"type": "number"
						},
						"tax_rate_percent": {
							"type": "number"
						},
						"tax": {
							"type": "number"
						},
						"total": {
							"type": "number"
						},
						"payment_method": {
							"type": "string",
							"enum": [
								"cash",
								"credit",
								"debit",
								"ebt",
								"gift_card"
							]
						},
						"items_sold": {
							"type": "integer"
						}
					},
					"required": [
						"merchant",
						"store_phone",
						"store_address",
						"store_number",
						"purchase_date",
						"subtotal",
						"tax_rate_percent",
						"tax",
						"total",
						"payment_method",
						"items_sold"
					]
				}
			}
		},
		"a3": {
			"label": "Second call, with the image",
			"path": "/v1/generate",
			"prompt": "A first pass filled the JSON schema from this document and its answer is below. Check it against the page and return the same object with every wrong value corrected. Each value must contain only what its own field is for. Keep a value that is already right. Return only the JSON object.",
			"sends_image": true,
			"sends_stage_one": true,
			"schemas": {
				"faa-8130-3": {
					"type": "object",
					"properties": {
						"form_tracking_number": {
							"type": "string"
						},
						"organization_name": {
							"type": "string",
							"description": "Block 4 organization name, without the address"
						},
						"work_order_number": {
							"type": "string"
						},
						"item_description": {
							"type": "string"
						},
						"part_number": {
							"type": "string"
						},
						"quantity": {
							"type": "integer"
						},
						"serial_number": {
							"type": "string"
						},
						"status_work": {
							"type": "string"
						},
						"remarks": {
							"type": "string"
						},
						"block_13a_approved_design_data_checked": {
							"type": "boolean"
						},
						"block_13a_non_approved_design_data_checked": {
							"type": "boolean"
						},
						"block_14a_return_to_service_checked": {
							"type": "boolean"
						},
						"block_14a_other_regulation_checked": {
							"type": "boolean"
						},
						"approval_number": {
							"type": "string",
							"description": "Block 13c or 14c, whichever is filled"
						},
						"signer_name": {
							"type": "string"
						},
						"signature_date": {
							"type": "string"
						}
					},
					"required": [
						"form_tracking_number",
						"organization_name",
						"work_order_number",
						"item_description",
						"part_number",
						"quantity",
						"serial_number",
						"status_work",
						"remarks",
						"block_13a_approved_design_data_checked",
						"block_13a_non_approved_design_data_checked",
						"block_14a_return_to_service_checked",
						"block_14a_other_regulation_checked",
						"approval_number",
						"signer_name",
						"signature_date"
					]
				},
				"osha-300": {
					"type": "object",
					"properties": {
						"establishment_name": {
							"type": "string"
						},
						"city": {
							"type": "string"
						},
						"state": {
							"type": "string"
						},
						"cases": {
							"type": "array",
							"description": "One entry per filled row",
							"items": {
								"type": "object",
								"properties": {
									"case_number": {
										"type": "integer"
									},
									"employee_name": {
										"type": "string"
									},
									"job_title": {
										"type": "string"
									},
									"date_of_injury": {
										"type": "string",
										"description": "month/day as written"
									},
									"location": {
										"type": "string"
									},
									"description": {
										"type": "string"
									},
									"outcome": {
										"type": "string",
										"enum": [
											"death",
											"days_away_from_work",
											"job_transfer_or_restriction",
											"other_recordable"
										]
									},
									"days_away_from_work": {
										"type": "integer",
										"description": "0 when blank"
									},
									"days_job_transfer_or_restriction": {
										"type": "integer",
										"description": "0 when blank"
									},
									"case_type": {
										"type": "string",
										"enum": [
											"injury",
											"skin_disorder",
											"respiratory_condition",
											"poisoning",
											"hearing_loss",
											"all_other_illnesses"
										]
									}
								},
								"required": [
									"case_number",
									"employee_name",
									"job_title",
									"date_of_injury",
									"location",
									"description",
									"outcome",
									"days_away_from_work",
									"days_job_transfer_or_restriction",
									"case_type"
								]
							}
						}
					},
					"required": [
						"establishment_name",
						"city",
						"state",
						"cases"
					]
				},
				"nist-certificate": {
					"type": "object",
					"properties": {
						"srm_number": {
							"type": "string"
						},
						"certified_values": {
							"type": "array",
							"description": "Rows of Table 1, certified mass fraction values",
							"items": {
								"type": "object",
								"properties": {
									"element": {
										"type": "string"
									},
									"symbol": {
										"type": "string"
									},
									"mass_fraction_percent": {
										"type": "number"
									},
									"expanded_uncertainty_percent": {
										"type": "number"
									},
									"coverage_factor_k": {
										"type": "number"
									}
								},
								"required": [
									"element",
									"symbol",
									"mass_fraction_percent",
									"expanded_uncertainty_percent",
									"coverage_factor_k"
								]
							}
						}
					},
					"required": [
						"srm_number",
						"certified_values"
					]
				},
				"invoice": {
					"type": "object",
					"properties": {
						"invoice_number": {
							"type": "string"
						},
						"invoice_date": {
							"type": "string"
						},
						"customer_id": {
							"type": "string"
						},
						"sold_to": {
							"type": "string",
							"description": "Organization name only"
						},
						"line_items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"quantity": {
										"type": "integer"
									},
									"item": {
										"type": "string"
									},
									"unit_of_measure": {
										"type": "string"
									},
									"media_description": {
										"type": "string"
									},
									"amount": {
										"type": "number"
									}
								},
								"required": [
									"quantity",
									"item",
									"unit_of_measure",
									"media_description",
									"amount"
								]
							}
						},
						"subtotal": {
							"type": "number"
						},
						"sales_tax": {
							"type": "number"
						},
						"amount_due": {
							"type": "number"
						},
						"currency": {
							"type": "string"
						},
						"payment_terms": {
							"type": "string"
						},
						"due_date": {
							"type": "string"
						},
						"remit_to": {
							"type": "string",
							"description": "Payee name for checks"
						},
						"credit_card_type_checked": {
							"type": "string",
							"enum": [
								"visa",
								"mastercard",
								"amex",
								"other",
								"none"
							]
						}
					},
					"required": [
						"invoice_number",
						"invoice_date",
						"customer_id",
						"sold_to",
						"line_items",
						"subtotal",
						"sales_tax",
						"amount_due",
						"currency",
						"payment_terms",
						"due_date",
						"remit_to",
						"credit_card_type_checked"
					]
				},
				"customs-cn22": {
					"type": "object",
					"properties": {
						"tracking_number": {
							"type": "string"
						},
						"contents_category": {
							"type": "string",
							"enum": [
								"gift",
								"documents",
								"commercial_sample",
								"returned_goods",
								"other"
							]
						},
						"sender_name": {
							"type": "string"
						},
						"sender_address": {
							"type": "string"
						},
						"destination_city": {
							"type": "string"
						},
						"destination_postal_code": {
							"type": "string"
						},
						"destination_country": {
							"type": "string"
						},
						"items": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"description": {
										"type": "string"
									},
									"quantity": {
										"type": "integer"
									},
									"weight_lb": {
										"type": "integer"
									},
									"weight_oz": {
										"type": "integer"
									},
									"value_usd": {
										"type": "number"
									}
								},
								"required": [
									"description",
									"quantity",
									"weight_lb",
									"weight_oz",
									"value_usd"
								]
							}
						},
						"total_weight_lb": {
							"type": "integer"
						},
						"total_weight_oz": {
							"type": "integer"
						},
						"total_value_usd": {
							"type": "number"
						},
						"country_of_origin": {
							"type": "string"
						},
						"declaration_date": {
							"type": "string"
						}
					},
					"required": [
						"tracking_number",
						"contents_category",
						"sender_name",
						"sender_address",
						"destination_city",
						"destination_postal_code",
						"destination_country",
						"items",
						"total_weight_lb",
						"total_weight_oz",
						"total_value_usd",
						"country_of_origin",
						"declaration_date"
					]
				},
				"electricity-bill": {
					"type": "object",
					"properties": {
						"meter_number": {
							"type": "string"
						},
						"meter_readings": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"register_type": {
										"type": "string"
									},
									"current_reading": {
										"type": "integer"
									},
									"previous_reading": {
										"type": "integer"
									},
									"consumption_kwh": {
										"type": "integer"
									}
								},
								"required": [
									"register_type",
									"current_reading",
									"previous_reading",
									"consumption_kwh"
								]
							}
						},
						"contracted_power_kva": {
							"type": "number"
						},
						"next_reading_from": {
							"type": "string"
						},
						"next_reading_to": {
							"type": "string"
						},
						"supply_charges_eur": {
							"type": "number",
							"description": "Electricity supply charges subtotal"
						},
						"regulated_charges_eur": {
							"type": "number",
							"description": "Regulated charges subtotal"
						},
						"electricity_amount_eur": {
							"type": "number",
							"description": "Amount payable for electricity before VAT"
						},
						"vat_rate_percent": {
							"type": "number"
						},
						"vat_eur": {
							"type": "number"
						},
						"electricity_total_with_vat_eur": {
							"type": "number"
						},
						"municipal_charges_eur": {
							"type": "number",
							"description": "Municipal charges subtotal"
						},
						"ert_fee_eur": {
							"type": "number",
							"description": "ERT public broadcaster fee"
						},
						"previous_unpaid_eur": {
							"type": "number"
						},
						"total_due_eur": {
							"type": "number"
						}
					},
					"required": [
						"meter_number",
						"meter_readings",
						"contracted_power_kva",
						"next_reading_from",
						"next_reading_to",
						"supply_charges_eur",
						"regulated_charges_eur",
						"electricity_amount_eur",
						"vat_rate_percent",
						"vat_eur",
						"electricity_total_with_vat_eur",
						"municipal_charges_eur",
						"ert_fee_eur",
						"previous_unpaid_eur",
						"total_due_eur"
					]
				},
				"store-receipt": {
					"type": "object",
					"properties": {
						"merchant": {
							"type": "string"
						},
						"store_phone": {
							"type": "string"
						},
						"store_address": {
							"type": "string",
							"description": "Street, city, state and ZIP"
						},
						"store_number": {
							"type": "string"
						},
						"purchase_date": {
							"type": "string"
						},
						"subtotal": {
							"type": "number"
						},
						"tax_rate_percent": {
							"type": "number"
						},
						"tax": {
							"type": "number"
						},
						"total": {
							"type": "number"
						},
						"payment_method": {
							"type": "string",
							"enum": [
								"cash",
								"credit",
								"debit",
								"ebt",
								"gift_card"
							]
						},
						"items_sold": {
							"type": "integer"
						}
					},
					"required": [
						"merchant",
						"store_phone",
						"store_address",
						"store_number",
						"purchase_date",
						"subtotal",
						"tax_rate_percent",
						"tax",
						"total",
						"payment_method",
						"items_sold"
					]
				}
			}
		}
	}
}