CCAR-F practice › Prompt Engineering & Structured Output · Question 78 of 105
Prompt Engineering & Structured Output · Select TWO
An invoice extraction pipeline retries failed validations by sending the document, the failed extraction, and the specific errors. Which failures is this retry likely to fix? (Select two)
Show answer and explanation
Answer: A and C — A date returned as DD/MM/YYYY where the schema requires YYYY-MM-DD / A shipping address placed in the billing_address field
Retry with error feedback works for format mismatches (a) and structural errors such as a value in the wrong field (c), because the model can fix them by rereading. It can't recover information absent from the source: the PO number is in a document that wasn't provided (b), and the title isn't stated anywhere (d). Retrying those wastes calls and invites fabrication.
Keep going
More Prompt Engineering & Structured Output questions
- A vendor-onboarding extractor retries up to five times when tax_id is missing. These…
- An invoice extractor uses tool use with a strict schema, and every response passes…
- Developers dismiss about 40% of an automated reviewer's findings. The team tracks the…
- Documents arrive throughout the day and must be processed within 30 hours of arrival…
- A batch of 5,000 contract extractions completes with 120 failures. Most of the failed…