PromptChainer: Chaining Large Language Model Prompts through Visual Programming
Authors:
Top Cited Papers
Open Access
- 27 April 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Abstract
While LLMs have made it possible to rapidly prototype new ML functionalities, many real-world applications involve complex tasks that cannot be easily handled via a single run of an LLM. Recent work has found that chaining multiple LLM runs together (with the output of one step being the input to the next) can help users accomplish these more complex tasks, and in a way that is perceived to be more transparent and controllable. However, it remains unknown what users need when authoring their own LLM chains – a key step to lowering the barriers for non-AI-experts to prototype AI-infused applications. In this work, we explore the LLM chain authoring process. We find from pilot studies that users need support transforming data between steps of a chain, as well as debugging the chain at multiple granularities. To address these needs, we designed PromptChainer, an interactive interface for visually programming chains. Through case studies with four designers and developers, we show that PromptChainer supports building prototypes for a range of applications, and conclude with open questions on scaling chains to even more complex tasks, as well as supporting low-fi chain prototyping.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts2022
- Story Centaur: Large Language Model Few Shot Learning as a Creative Writing Tool2021
- Decision Tree Design for Classification in Crowdsourcing Systems2018
- CrowdForge2011
- Parallel prototyping leads to better design results, more divergence, and increased self-efficacyACM Transactions on Computer-Human Interaction, 2010
- End-User Software Engineering and Why it MattersJournal of Organizational and End User Computing, 2010
- End-user software engineeringCommunications of the ACM, 2004