Prompt Middleware: Mapping Prompts for Large Language Models to UI Affordances

Authors: Stephen MacNeil, Andrew Tran, Joanne Kim, Ziheng Huang, Seth Bernstein, Dan Mogil

License: CC BY 4.0
AI-generated keywords: LLMs Prompt Middleware UI affordances FeedbackBuffet GPT-3

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
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

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.

Submitted to arXiv on 03 Jul. 2023

Tools for this paper

Explain it differently 3 free rewrites left today
Export BibTeX · RIS (Zotero, Mendeley, EndNote) · Markdown (Notion, Obsidian) · Premium
Citation alerts Premium
Journal club Slides to present it Premium
For journalists Press kit and hype check Premium

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2307.01142v1

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
Researchers have been exploring ways to integrate artificial intelligence (AI) and human intelligence into user interfaces (UIs) to assist users in complex tasks. With the emergence of large language models (LLMs), which can generate text based on natural language prompts, there are new opportunities to incorporate LLMs into UIs. In this paper, the authors present Prompt Middleware, a framework for generating prompts for LLMs based on UI affordances. These prompts can be predefined by experts, generated from templates with fill-in options in the UI, or created from scratch by users. The authors demonstrate the framework through FeedbackBuffet, a writing assistant that generates feedback based on user input. FeedbackBuffet utilizes template-based prompt middleware to allow users to specify the types of feedback they want to receive as options in the UI. These options are then composed using a template to form a feedback request prompt for GPT-3, an LLM. The paper concludes with a discussion on how Prompt Middleware can help developers integrate LLMs into UIs and provides insights into different prompt generation techniques that can enhance user experiences and performance in complex tasks. To illustrate this concept further, they present a case study using the FeedbackBuffet prototype which showcases how template-based prompting can be implemented in a user interface. Overall, this research highlights the potential of integrating LLMs into UIs and provides guidance on how different prompt generation techniques can be used effectively.

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

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 representation

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.