Question 170
An AI platform operations team investigates: A reporting workflow first asks a model to extract numbers from a document and then asks another model to write a financial narrative, but malformed extraction JSON propagates into fabricated totals. Which design change best satisfies the stated AI workflow requirement?
Explanation
Correct Answer
The main issue is: A multi-stage prompt chain is only reliable when intermediate outputs satisfy explicit schemas and data validation before downstream stages use them. The appropriate correction is: Validate and reconcile extraction records before sending them to the narrative prompt, and stop or request review if required fields are missing. Verify success by checking: A deliberately malformed extraction fixture is rejected before narrative generation while a valid fixture produces the correct total and explanatory text.
Incorrect Answers
This action addresses conflicting developer prompt constraints go unresolved, whose causal condition is: A prompt with mutually incompatible constraints cannot be made reliable through repetition alone; the task needs a defined priority or an explicit clarification rule. The current scenario instead requires attention to: A multi-stage prompt chain is only reliable when intermediate outputs satisfy explicit schemas and data validation before downstream stages use them.
This action addresses image prompt lacks composition and accessibility constraints, whose causal condition is: Image generation depends on clear modality-specific requirements; a vague request leaves composition, legibility and delivery constraints insufficiently defined. In this question the necessary remedy is “Validate and reconcile extraction records before sending them to the narrative prompt, and stop or request review if required fields are missing”, which this alternative does not provide.
This action addresses few shot prompt overfits one demographic example set, whose causal condition is: A narrow few-shot example set can bias the task framing and misrepresent the range of legitimate user expression for the same underlying label. The observed condition is a reporting workflow first asks a model to extract numbers from a document and then asks another model to write a financial narrative, but malformed extraction JSON propagates into fabricated totals; this mechanism addresses another problem.