Prompt Middleware: Mapping Prompts for Large Language Models to UI Affordances
Authors: Stephen MacNeil, Andrew Tran, Joanne Kim, Ziheng Huang, Seth Bernstein, Dan Mogil
AI-generated Key Points
- Researchers exploring integration of AI and human intelligence into UIs for complex tasks
- Large language models (LLMs) offer new opportunities for incorporating LLMs into UIs
- Prompt Middleware framework for generating prompts for LLMs based on UI affordances
- Prompts can be predefined by experts, generated from templates, or created by users
- FeedbackBuffet writing assistant utilizes template-based prompt middleware to generate feedback
- Feedback request prompts formed using templates for GPT-3, an LLM
- Prompt Middleware helps developers integrate LLMs into UIs and enhance user experiences and performance in complex tasks
- Case study using FeedbackBuffet prototype showcases implementation of template-based prompting in a UI
Abstract: To help users do complex work, researchers have developed techniques to integrate AI and human intelligence into user interfaces (UIs). With the recent introduction of large language models (LLMs), which can generate text in response to a natural language prompt, there are new opportunities to consider how to integrate LLMs into UIs. We present Prompt Middleware, a framework for generating prompts for LLMs based on UI affordances. These include prompts that are predefined by experts (static prompts), generated from templates with fill-in options in the UI (template-based prompts), or created from scratch (free-form prompts). We demonstrate this framework with FeedbackBuffet, a writing assistant that automatically generates feedback based on a user's text input. Inspired by prior research showing how templates can help non-experts perform more like experts, FeedbackBuffet leverages template-based prompt middleware to enable feedback seekers to specify the types of feedback they want to receive as options in a UI. These options are composed using a template to form a feedback request prompt to GPT-3. We conclude with a discussion about how Prompt Middleware can help developers integrate LLMs into UIs.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.