PromptChainer: Chaining Large Language Model Prompts through Visual Programming

被引:65
作者
Wu, Tongshuang [1 ]
Jiang, Ellen [2 ]
Donsbach, Aaron [2 ]
Gray, Jeff [2 ]
Molina, Alejandra [2 ]
Terry, Michael [2 ]
Cai, Carrie J. [2 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
[2] Google Res, Mountain View, CA USA
来源
EXTENDED ABSTRACTS OF THE 2022 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, CHI 2022 | 2022年
关键词
D O I
10.1145/3491101.3519729
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:10
相关论文
共 18 条
[1]  
Betz G, 2021, Arxiv, DOI arXiv:2103.13033
[2]  
Bommasani R., 2022, On the opportunities and risks of foundation models, DOI [10.48550/arXiv.2108.07258, DOI 10.48550/ARXIV.2108.07258]
[3]  
Brown TB, 2020, ADV NEUR IN, V33
[4]   End-user software engineering [J].
Burnett, M ;
Cook, C ;
Rothermel, G .
COMMUNICATIONS OF THE ACM, 2004, 47 (09) :53-58
[5]   End-User Software Engineering and Why it Matters [J].
Burnett, Margaret .
JOURNAL OF ORGANIZATIONAL AND END USER COMPUTING, 2010, 22 (01) :1-22
[6]   Parallel Prototyping Leads to Better Design Results, More Divergence, and Increased Self-Efficacy [J].
Dow, Steven P. ;
Glassco, Alana ;
Kass, Jonathan ;
Schwarz, Melissa ;
Schwartz, Daniel L. ;
Klemmer, Scott R. .
ACM TRANSACTIONS ON COMPUTER-HUMAN INTERACTION, 2010, 17 (04)
[7]  
Geng BC, 2018, CONF REC ASILOMAR C, P859, DOI 10.1109/ACSSC.2018.8645073
[8]  
Jiang Ellen, 2022, 2022 CHI C HUMAN SYS
[9]  
Kittur A., 2011, P 24 ANN ACM S USER, P43, DOI DOI 10.1145/2047196.2047202
[10]  
Lieber O., 2021, Jurassic-1: Technical details and evaluation, V1