arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.09235cs.HC
收藏

CoPrompt:在协作式自然语言编程中支持提示词共享与引用

CoPrompt: Supporting Prompt Sharing and Referring in Collaborative Natural Language Programming

Li Feng, Ryan Yen, Yuzhe You, Mingming Fan, Jian Zhao, Zhicong Lu

AI总结:

针对协作自然语言编程中的提示词工程挑战,本文通过形成性研究设计并实现 CoPrompt 原型,以引用、请求、共享和链接机制支持协作,并验证其能降低重复更新与沟通成本。

摘要:

由于大型语言模型(LLM)强大的代码生成能力,自然语言(NL)编程已变得更加易于使用。这种使用自然语言进行编程的转变,通过降低不同背景程序员之间的沟通障碍和上下文切换,增强了协作编程。然而,程序员在协作环境中进行提示词工程时可能面临挑战,因为他们需要主动了解协作者的进展和意图。本文旨在研究在协作情境下协助程序员进行提示词工程的方法。我们首先开展了一项形成性研究,以了解程序员使用自然语言进行协作编程时的工作流程和挑战。基于研究发现,我们实现了一个名为 CoPrompt 的原型,通过提供引用、请求、共享和链接机制来支持协作式提示词工程。用户研究表明,CoPrompt 可帮助程序员理解协作者的提示词并在协作者工作的基础上继续构建,从而减少重复更新和沟通成本。

英文摘要:

Natural language (NL) programming has become more approachable due to the powerful code-generation capability of large language models (LLMs). This shift to using NL to program enhances collaborative programming by reducing communication barriers and context-switching among programmers from varying backgrounds. However, programmers may face challenges during prompt engineering in a collaborative setting as they need to actively keep aware of their collaborators' progress and intents. In this paper, we aim to investigate ways to assist programmers' prompt engineering in a collaborative context. We first conducted a formative study to understand the workflows and challenges of programmers when using NL for collaborative programming. Based on our findings, we implemented a prototype, CoPrompt, to support collaborative prompt engineering by providing referring, requesting, sharing, and linking mechanisms. Our user study indicates that CoPrompt assists programmers in comprehending collaborators' prompts and building on their collaborators' work, reducing repetitive updates and communication costs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑