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

NoCodeGPT:一个使用语言模型构建Web应用的无代码接口

NoCodeGPT: A No-Code Interface for Building Web Apps with Language Models

Mauricio Monteiro, Bruno Castelo Branco, Samuel Silvestre, Guilherme Avelino, Marco Tulio Valente

AI总结:

针对ChatGPT构建Web应用界面不友好的问题,提出NoCodeGPT工具,通过注入上下文信息、自动保存文件及版本控制功能,帮助无经验用户仅用提示即可构建小型Web应用,显著提升了任务完成率。

摘要:

在本文中,我们首先报告了一项探索性研究,其中指导三名参与者使用ChatGPT实现一个简单的基于Web的应用程序。该研究的一个关键发现表明,ChatGPT并未提供用于构建应用程序的用户友好界面,即使是小型Web系统也是如此。例如,一名软件开发经验有限的参与者无法完成任何提出的用户故事。然后,作为本研究的主要贡献,我们决定设计、实现并评估一个工具,该工具为像GPT这样的语言模型提供定制化界面,专门针对无需编写代码即可实现小型Web应用程序。这个名为NoCodeGPT的工具,在发送给语言模型的提示中注入了有用的上下文信息(例如,当用户识别并请求修复错误时需要修改的文件)。它还将语言模型生成的文件保存在正确的目录中。此外,还提供了一个简单的版本控制功能,允许用户在模型进入幻觉过程、生成无价值结果时快速恢复到代码的先前版本。为了评估我们的工具,我们邀请了14名Web开发经验有限的学生,仅使用提示和NoCodeGPT来实现两个小型Web应用程序。总体而言,此次评估的结果非常令人满意,并且明显优于初始研究(使用标准ChatGPT界面的研究)的结果。超过一半的参与者(14人中的9人)成功完成了提出的应用程序,而其他人则完成了至少一半的提出用户故事。

英文摘要:

In this paper, we first report an exploratory study where three participants were instructed to use ChatGPT to implement a simple Web-based application. A key finding of this study revealed that ChatGPT does not offer a user-friendly interface for building applications, even small web systems. For example, one participant with limited experience in software development was unable to complete any of the proposed user stories. Then, and as the primary contribution of this work, we decided to design, implement, and evaluate a tool that offers a customized interface for language models like GPT, specifically targeting the implementation of small web applications without writing code. This tool, called NoCodeGPT, instruments the prompts sent to the language model with useful contextual information (e.g., the files that need to be modified when the user identifies and requests a bug fix). It also saves the files generated by the language model in the correct directories. Additionally, a simple version control feature is offered, allowing users to quickly revert to a previous version of the code when the model enters a hallucination process, generating worthless results. To evaluate our tool, we invited 14 students with limited Web development experience to implement two small web applications using only prompts and NoCodeGPT. Overall, the results of this evaluation were quite satisfactory and significantly better than those of the initial study (the one using the standard ChatGPT interface). More than half of the participants (9 out of 14) successfully completed the proposed applications, while the others completed at least half of the proposed user stories.

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

↑