Human like programming using SPADE BDI agents and the GPT-3-based Transformer

Alain Josué Ratovondrahona, Hanitriniaina Marielle Rakotozanany, Thomas Mahatody, Victor Manantsoa
{"title":"Human like programming using SPADE BDI agents and the GPT-3-based Transformer","authors":"Alain Josué Ratovondrahona, Hanitriniaina Marielle Rakotozanany, Thomas Mahatody, Victor Manantsoa","doi":"10.54941/ahfe1002939","DOIUrl":null,"url":null,"abstract":"Programming an application requires multiple people with skills and experience in\n that field. It will also take a lot of time with multiple steps before achieving the\n final result of an application. Today, developers are assisted by various tools,\n software, or applications based on Artificial Intelligence (AI) such as OpenAI's\n ChatGPT. These AI that automatically generates source code helps developers to develop\n applications much faster. However, although code generators are numerous and very\n helpful, we are not yet at the stage where we can generate a fully functional\n application, but just generate pieces of source code. And we don’t know yet how to\n understand textual descriptions of Software Requirements to generate an application\n directly. Or where to find data to train an AI capable of generating a functional\n application from textual descriptions. Therefore, we created a new architecture composed\n of virtual intelligent agents called SPADE BDI to create virtual developers. The virtual\n intelligent agents were responsible for keyword extraction, Software Requirements\n synthesis, and source file creation. Then we used a transformer based on pre-trained\n GPT-3 for source code generation. This transformer is orchestrated by a virtual\n intelligent agent. To solve the problem of training data, we collected and created a new\n dataset called WSBL. The data came from several projects developed with the Laravel\n Framework over 4 years. The result allowed us to have a functional application directly\n from a textual description. Each intelligent virtual agent played a role like a\n developer by analyzing textual of Software Requirements and then generating source code.\n With a 15% reduction in time to develop an application compared to brute development.\n Our new architecture allows for processing textual descriptions (Software Requirements)\n step by step using intelligent virtual agents named SPADE BDI and source code generation\n is done by a transformer based on pre-trained GPT-3 to have a directly functional\n application","PeriodicalId":383834,"journal":{"name":"Human Interaction and Emerging Technologies (IHIET-AI 2023): Artificial\n Intelligence and Future Applications","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Human Interaction and Emerging Technologies (IHIET-AI 2023): Artificial\n Intelligence and Future Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.54941/ahfe1002939","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Programming an application requires multiple people with skills and experience in that field. It will also take a lot of time with multiple steps before achieving the final result of an application. Today, developers are assisted by various tools, software, or applications based on Artificial Intelligence (AI) such as OpenAI's ChatGPT. These AI that automatically generates source code helps developers to develop applications much faster. However, although code generators are numerous and very helpful, we are not yet at the stage where we can generate a fully functional application, but just generate pieces of source code. And we don’t know yet how to understand textual descriptions of Software Requirements to generate an application directly. Or where to find data to train an AI capable of generating a functional application from textual descriptions. Therefore, we created a new architecture composed of virtual intelligent agents called SPADE BDI to create virtual developers. The virtual intelligent agents were responsible for keyword extraction, Software Requirements synthesis, and source file creation. Then we used a transformer based on pre-trained GPT-3 for source code generation. This transformer is orchestrated by a virtual intelligent agent. To solve the problem of training data, we collected and created a new dataset called WSBL. The data came from several projects developed with the Laravel Framework over 4 years. The result allowed us to have a functional application directly from a textual description. Each intelligent virtual agent played a role like a developer by analyzing textual of Software Requirements and then generating source code. With a 15% reduction in time to develop an application compared to brute development. Our new architecture allows for processing textual descriptions (Software Requirements) step by step using intelligent virtual agents named SPADE BDI and source code generation is done by a transformer based on pre-trained GPT-3 to have a directly functional application
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用SPADE BDI代理和基于gpt -3的Transformer进行人性化编程
编写一个应用程序需要多个具有该领域技能和经验的人。在获得应用程序的最终结果之前,还需要花费大量的时间和多个步骤。今天,开发人员可以通过各种基于人工智能(AI)的工具、软件或应用程序(如OpenAI的ChatGPT)获得帮助。这些自动生成源代码的人工智能帮助开发人员更快地开发应用程序。然而,尽管代码生成器数量众多且非常有用,但我们还没有达到可以生成功能完整的应用程序的阶段,而只是生成一些源代码。而且我们还不知道如何理解软件需求的文本描述来直接生成一个应用程序。或者在哪里找到数据来训练能够从文本描述生成功能应用程序的人工智能。因此,我们创建了一个由虚拟智能代理组成的新架构,称为SPADE BDI来创建虚拟开发人员。虚拟智能代理负责关键字提取、软件需求合成和源文件创建。然后,我们使用基于预训练GPT-3的转换器进行源代码生成。这个转换器是由一个虚拟智能代理编排的。为了解决训练数据的问题,我们收集并创建了一个名为WSBL的新数据集。这些数据来自于4年来使用Laravel框架开发的几个项目。结果使我们能够直接从文本描述中获得功能性应用程序。每个智能虚拟代理通过分析软件需求文本,生成源代码,扮演开发人员的角色。与野蛮开发相比,开发应用程序的时间减少了15%。我们的新架构允许使用名为SPADE BDI的智能虚拟代理逐步处理文本描述(软件需求),源代码生成由基于预训练的GPT-3的转换器完成,以具有直接功能的应用程序
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Framework of Future Industrial Worker Characteristics On-Site and Remote Crowdsourcing of Accessibility Data for People with Mobility Impairments: A Case Study in Zurich’s District 1 Human-Centered Design of Voice Communications: Gender Aspects Engaging Students through Conversational Chatbots and Digital Content: A Climate Action Perspective The Course Glancer - Leveraging Interactive Visualization for Course Selection
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1