Design a confirmation flow for an AI assistant that can modify records.

Instruction: Explain how you would design confirmation before state-changing actions.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would design confirmation before state-changing actions.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would make the confirmation object structured: which record will change, what fields will change, why the assistant believes the change is correct, and whether the action is reversible. Users should not have to parse a long conversational justification to understand the...

Related Questions