Generative AI interfaces
Interfaces where people describe the result they want, often in a text prompt, and the AI creates new text, images or other content. Knowing what to ask is hard: you need to know whether the AI can do the task, how to word the request and how to judge the answer.
Also called prompt-based interfaces, GenAI UX
Example
A slide-making tool's prompt box offers starters like 'Turn my notes into five slides', plus buttons to change the tone or length of the result.
When to use it
Don't leave people with a blank box: offer example prompts, buttons for common changes, and several results to compare and edit. Expect the same prompt to give different results, and tell people so.
Watch out
Most fixes for the blank prompt box are expert advice and design ideas that haven't yet been well tested.
Types and parts 1 part
The evidence 9 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
NIST describes generative AI as AI models that learn the patterns in the data they were given and use them to create new content, such as text, images, audio or video.
Nielsen calls the way people use generative AI 'intent-based outcome specification': you describe the result you want rather than giving the computer step-by-step commands, which shifts who controls how the work gets done.
Nielsen argues that prompt-only interfaces make people put their needs into written words, which many find hard, and predicts that good AI products will mix prompting with familiar on-screen controls such as buttons and forms.
In a study of 10 people without AI expertise writing prompts for a chatbot, participants tweaked prompts by trial and error, judged success from a single try, talked to the model as if it were a person, preferred instructions over examples, and found 'don't do X' instructions worked poorly.
Subramonyam and colleagues name the 'gulf of envisioning': the gap between having a goal and knowing what to ask a language model. It has three parts: knowing whether the model can do the task, knowing how to phrase the request, and knowing how to judge whether the answer meets the goal.
To narrow the gulf of envisioning, the authors suggest designs such as offering example prompts and steering options (e.g. tone), producing several outputs side by side so people can compare them, and letting people edit outputs directly.
NN/g describes 'prompt controls': buttons, toggles, cards and menus around a chatbot's text box that show what the tool can do, give ideas, set limits (such as search scope or output format) and make follow-ups such as regenerating an answer or asking for a quick change one tap away.
NN/g names three kinds of prompt suggestion: example uses shown on an empty screen, autocomplete while typing, and suggested follow-up questions after an answer; they help most for new users facing a blank text box.
Generative models can give different outputs for the same input; Weisz and colleagues advise designing for this, for example by producing several options and helping people see how they differ, and by explaining to users that results will vary.