Lesson · ⏱ 6 min read

🎨 UX for AI features: designing for uncertainty

EnglishHinglish

🏠 Real-life example

Google Maps doesn't just say '20 minutes'. It shows a range, live traffic colours, and lets you pick another route. It's honest about uncertainty and keeps you in control. Good AI features do the same: they show sources, let you edit, and make it easy to say 'that's wrong'.

πŸ’‘ In simple words

AI is sometimes wrong, so design for it. Stream responses so users see progress instead of a spinner. Show sources or citations so users can verify. Make outputs editable and reversible, and put the human in charge of the final action. Add feedback buttons (πŸ‘/πŸ‘Ž with a reason) and log them to improve your evals. Set expectations with clear empty states and example prompts. Handle failure gracefully with a helpful fallback, not a raw error. Small UX choices often matter more for adoption than a slightly better model.

πŸͺœ Step by step

  1. Set expectations: label AI output as a draft or suggestion, and say what it can and can't do.
  2. Show sources or reasons so users can check quickly.
  3. Make editing and undo easy; never auto apply important changes.
  4. Design the failure path: what happens when the AI is unsure, slow or wrong? Offer a fallback or a human.
  5. Collect feedback in the flow (thumbs, edits) and review it weekly to improve prompts and evals.

πŸ”‘ Key terms

Streaming UI
Showing the answer as it's generated.
Human-in-control
AI suggests, and the user confirms or edits before acting.
Feedback loop
Collecting πŸ‘/πŸ‘Ž to find and fix weak answers.

πŸ‘€ See it in action

text
AI email reply feature, good UX:
  ✍️  Draft streams in β†’ user edits β†’ [Send] (never auto-sends)
  πŸ“Ž  'Based on: Order #A123, Refund policy Β§2' (sources)
  πŸ‘πŸ‘Ž 'Was this helpful?' β†’ logged for evals
  ⚠️  On error: 'Couldn't draft a reply. Here's a template instead.'

The AI drafts, the human decides, and every step is visible.

⚠️ Common mistakes to avoid

  • Hiding that content is AI generated. Users trust products more when it's clear.
  • A blank chat box as the only interface. Suggest example prompts or put AI where users already work.

βœ… Quick check

Which design choice best builds user trust in an AI answer?

  1. Longer answers
  2. Hiding that AI was used
  3. Showing sources and letting users edit
Show answer

C. Showing sources and letting users edit: Users trust what they can verify and control.

πŸ™‹ Questions learners ask

Chat interface or buttons?

For repeated, well defined tasks, a button ("Summarise", "Draft reply") is faster. Chat suits open ended exploration.

How do I show uncertainty?

Highlight parts that need checking, show sources, or say "I'm not sure" and offer options, rather than showing raw confidence numbers.

πŸ“Œ Remember

Stream it, source it, let users edit it, and learn from feedback.

πŸ“– Words from this lesson (AI dictionary)

Learn this as part of a full course

Track your progress, take the quick checks and follow the lessons in the right order. This lesson is part of:

AI Product Engineer

Continue in the course