AI Interaction Design

15. AI Interaction Design#

An AI feature succeeds or fails at the point where a person uses it. This chapter shows how to design the interaction between a user and an AI assistant: the states a task moves through, the evidence a user needs to trust or correct a suggestion, the exact scope of an approval, and the path by which feedback reaches the people who maintain the system. A Python state model over a mock service is enough to build and test these designs; no front-end framework is required.

  • User Tasks and States: A user task becomes explicit states with partial results, cancellation, stale replies, and manual fallback.

  • Evidence and Human Review: Claims are inspectable, uncertainty is shown honestly, and approval binds to exact proposal content.

  • Feedback and Correction: Feedback is routed with its provenance, and reviewed corrections are promoted only through independent review.

Chapter Video

UX for Language User Interfaces (LLM Bootcamp) (50:48) by The Full Stack.[1]

Hosted on YouTube; property of its original creator, embedded here for educational reference only.

Learning Objectives

By the end of this chapter, you will be able to:

  1. Translate a user task into explicit states, outcomes, and manual fallback.

  2. Reject stale responses and distinguish partial output from a completed result.

  3. Present evidence and uncertainty without treating an unmeasured confidence label as probability.

  4. Bind review and one-use approval to exact proposal content.

  5. Route feedback and promote only permitted reviewed corrections to test proposals.

Chapter Flow

Glossary

#

Term

Explanation

1

Interaction design

Specifying how users express intent, understand behavior, and control the next step.

2

User task

The outcome a person is trying to achieve.

3

Interaction state

The current stage and permitted actions in an interface.

4

State machine

Named states with declared event-driven transitions.

5

Partial output

Content received before processing has completed.

6

Request identity

An identifier distinguishing a request attempt.

7

Stale response

A result belonging to an obsolete request context.

8

Manual fallback

An ordinary human workflow available when AI cannot complete a task.

9

Evidence display

A presentation connecting a claim to inspectable source evidence.

10

Uncertainty

A specific unresolved limit in evidence, processing, or interpretation.

11

Calibrated confidence

A measured correspondence between predicted probability and observed correctness.

12

Approval scope

The exact actor, action, target, revision, and content covered by approval.

13

Proposal digest

A fingerprint binding a record to exact serialized proposal content.

14

One-use approval

A grant consumed once for one approved proposal.

15

Human override

An authorized ability to reject or change the proposed path.

16

Feedback provenance

The origin, context, version, and review status of feedback.

17

Preference

A desired style or interaction choice.

18

Factual correction

A claim that a result is wrong, with proposed supporting evidence.

19

Defect report

An account of faulty software behavior.

20

Regression test proposal

A reviewed failure scenario proposed for future testing.

21

Selection bias

A difference between reported feedback and the broader workload.

22

Abstention

Declining a result when the required evidence is unavailable.

Lecture Slides

Lecture slides remain to be authored.