UI/UX Design

Designing for AI: UX Patterns for Chatbots, Copilots and AI Features

AI output can be slow, variable and confidently wrong. These UX patterns set expectations, show sources, keep users in control and recover gracefully.

  • DivTech editorial team
  • 6 min read
Chatbot or assistant
vs
Copilot
vs
Embedded AI feature
UI/UX Design · part 5 of 5

AI features break some assumptions that interface design relies on. A button does the same thing every time; a language model may answer the same question differently, can be confidently wrong and may take seconds to respond. Good AI UX does not hide this. It sets expectations, shows its work, keeps the user in control and recovers gracefully when things go wrong.

This guide covers practical patterns for chatbots, copilots and embedded AI features. It draws on how DivTech approaches UI/UX design for products built with generative AI. Trust is the central design problem here, so plan UX research that observes how people judge and correct AI output, not just whether they like it.

Three shapes of AI interface

comparisonChatbot, copilot or embedded feature?
Chatbot or assistantConversation first
  • Open text box; the user drives
  • Fits support, FAQs and search across knowledge
  • Risk: users do not know what to ask or what it can do
  • Design focus: suggestions, scope statement, human handover
CopilotWorks beside the user
  • Lives inside an existing tool and suggests drafts or actions
  • Fits writing, coding, data entry and analysis
  • Risk: over-reliance on unchecked output
  • Design focus: easy accept, edit and reject; clear attribution
Embedded AI featureQuiet until useful
  • Summaries, smart filters, auto-tagging, recommendations
  • Fits speeding up existing flows
  • Risk: behaviour users cannot explain
  • Design focus: labels, short explanations, opt-out

verdictIf users already have a workflow, a copilot or embedded feature usually fits better than a separate chat window.

DivTech System

Whether the system only answers or also takes actions changes the design further; see AI agents vs chatbots for the distinction.

Set expectations before the first prompt

  • Say what it can and cannot do: a short scope line such as 'Answers questions about your orders and returns; cannot change payment details' works better than a generic 'Ask me anything'.
  • Offer starter prompts: three or four example tasks teach capability faster than documentation.
  • Label AI output: users should always know when content was generated.
  • Explain data use: say whether conversations are stored, who can see them and whether they are used to improve the system.
  • Do not pretend to be human: a name and a friendly tone are fine; implying a person is typing is not.

Show sources and handle confidence carefully

Trust in AI output should be earned answer by answer. When answers come from your own documents or data, the retrieval-augmented pattern explained in What is RAG?, show where they came from:

  • Inline citations that link to the exact document, page or record.
  • A short excerpt so users can check the claim without opening the source.
  • A clear message when nothing relevant was found, instead of a guessed answer.

Confidence is harder. Raw model probabilities rarely mean much to users, and a precise-looking percentage suggests accuracy that may not exist. Prefer signals based on things you can actually check: whether sources were found, whether they agree and whether the request is within scope. In high-stakes domains such as healthcare, finance and legal work, route uncertain cases to a person by design.

Keep the user in control

  • Draft, do not send: AI-written emails, replies and records arrive as editable drafts.
  • Preview before action: if the system will update a record, book something or send a message, show exactly what will happen and ask for confirmation.
  • Undo everywhere: accepting a suggestion should be reversible, with version history for longer content.
  • Partial acceptance: let users accept one paragraph or one field rather than all or nothing.
  • Refine, not just regenerate: offer targeted options such as shorter, more formal or in Hindi, so users do not have to rewrite prompts.

Design for variable output and latency

Because output varies, layouts must tolerate it. An answer may be one line or twenty, and a summary may include a list, a table or code. Give generated content a flexible container with a sensible maximum height and an expand option, format it consistently and test with long, short, empty and multilingual outputs, including Hindi or other scripts if you serve those users. When responses take several seconds, stream text as it is generated and show what the system is doing, such as searching documents or drafting. Make sure screen readers are not flooded with every streamed fragment; announce the completed answer instead.

Design the feedback loop

loopThe AI feature feedback loop
repeat
  1. 01Ask

    The user prompts or triggers the feature in context.

  2. 02Generate

    The system responds with output, sources and status.

  3. 03Review

    The user checks, edits, accepts or rejects.

  4. 04Signal

    Ratings, edits, rejections and reasons are captured.

  5. 05Evaluate

    The team reviews signals and failures against test sets.

  6. 06Improve

    Prompts, retrieval, guardrails or UI change; release and monitor.

DivTech System

Thumbs up and down are a start, but behaviour is a richer signal: how often suggestions are accepted unchanged, edited heavily or discarded. Ask for a reason only on negative feedback, with a few one-tap options such as wrong, outdated, not what I asked or unsafe. Feed this into evaluation and regression testing, covered in how to test AI and LLM applications.

Handle errors and limits honestly

SituationPoor patternBetter pattern
Slow responseSpinner with no informationStream the answer, show progress steps and allow cancel
No relevant answerA plausible guessSay nothing was found; suggest rephrasing or a human contact
Out-of-scope requestAttempts it anywayExplain the limit and point to the right channel
Service outageGeneric error, input lostExplain, keep the user's input, offer retry and a non-AI path
Disallowed requestSilent refusalBrief, neutral explanation without lecturing

Always preserve the user's input when something fails. Losing a long, carefully written prompt is one of the most frustrating AI experiences, and it is entirely avoidable.

Human handover

For customer-facing chatbots, handover to a person is a core feature, not a fallback. Make it reachable at any time, not only after a failure. Pass the conversation history so the customer does not repeat themselves, show expected wait times or offer a callback and say clearly when a person has joined. Internally, give agents a view of what the AI already tried. You can see these ideas working in our live AI agent demo.

Before you launch

checklistAI UX launch checklist
Expectations
  • Scope statement and example prompts
  • AI-generated content labelled
  • Data use explained in plain language
Control
  • Drafts editable before sending
  • Confirmation before any action with side effects
  • Undo or version history
Trust
  • Sources shown for factual answers
  • A no-answer state instead of guessing
  • Human handover available at all times
Quality
  • Feedback captured and reviewed
  • Failures preserve user input
  • Keyboard and screen reader support, including streamed text
DivTech System

Security belongs on the list too: prompt injection and data leakage are design concerns as much as engineering ones, as explained in generative AI security. Once patterns are agreed, add them to your design system so every AI feature behaves consistently.

Planning a chatbot, copilot or AI feature? DivTech designs and builds AI interfaces end to end, from research and prototypes to production. Contact us or get a quote.

Frequently asked questions

Should every AI feature be a chatbot?

No. Chat suits open-ended questions and support. For tasks inside an existing workflow, such as drafting, summarising or filling forms, a copilot or embedded feature is usually faster and clearer for users.

Should we show a confidence score on AI answers?

Usually not as a raw percentage, because model probabilities are rarely well calibrated for users. Show checkable signals instead, such as cited sources, a clear no-answer state and handover for uncertain cases.

How do we collect useful feedback on AI output?

Combine simple ratings with behavioural signals such as accept, edit and reject rates. Ask for a short reason on negative feedback, review samples regularly and add failures to your evaluation test set.

Do AI interfaces need to meet accessibility standards?

Yes. Chat and copilot interfaces should meet WCAG 2.2 AA like the rest of the product, including keyboard access, sufficient contrast and announcing streamed or updated content appropriately to screen reader users.

  • AI UX design
  • Chatbots
  • Copilots

free consultation

Need help with ui/ux design?

Talk to our UI/UX Design team. We'll review your situation and suggest a practical next step, free.