arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.13896cs.HC
收藏

GPTutor:一个开源的AI结对编程工具,作为Copilot的替代方案

GPTutor: an open-source AI pair programming tool alternative to Copilot

Eason Chen, Ray Huang, Justa Liang, Damien Chen, Pierce Hung

AI总结:

GPTutor是一个开源的AI结对编程工具,支持120多种人类语言和50多种编程语言,允许用户自定义和微调提示以纠正LLM错误,作为Copilot的替代方案,提升代码生成效率。

摘要:

本文介绍了GPTutor的最新进展:一个基于ChatGPT驱动的Visual Studio Code编程工具扩展。大型语言模型(LLMs)的出现提高了软件开发效率,但其性能可能受到训练数据限制和提示设计问题的阻碍。现有的LLM开发工具通常作为黑盒运行,用户无法查看所使用的提示,也无法在出现错误时通过纠正提示来提高性能。为了解决上述问题,GPTutor被引入作为一个开源的AI结对编程工具,作为Copilot的替代方案。GPTutor允许用户为各种编程语言和场景定制提示,支持120多种人类语言和50多种编程语言。用户可以微调提示以纠正LLM的错误,从而实现精确和高效的代码生成。在论文末尾,我们通过示例强调了GPTutor的潜力,包括展示其在解释和生成Sui-Move(一种新引入的智能合约语言)方面的熟练程度,这是通过提示工程实现的。

英文摘要:

This paper presents the latest progress of GPTutor: a ChatGPT-powered programming tool extension in Visual Studio Code. The emergence of Large Language Models (LLMs) has improved software development efficiency, but their performance can be hindered by training data limitations and prompt design issues. Existing LLM development tools often operate as black boxes, with users unable to view the prompts used and unable to improve performance by correcting prompts when errors occur. To address the aforementioned issues, GPTutor was introduced as an open-source AI pair programming tool, offering an alternative to Copilot. GPTutor empowers users to customize prompts for various programming languages and scenarios, with support for 120+ human languages and 50+ programming languages. Users can fine-tune prompts to correct the errors from LLM for precision and efficient code generation. At the end of the paper, we underscore GPTutor's potential through examples, including demonstrating its proficiency in interpreting and generating Sui-Move, a newly introduced smart contract language, using prompt engineering.

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

↑