Wolverine 實驗專案使用 AI 動態「重新產生」程式碼

Developer BioBootloader has unveiled an AI-powered Wolverine experimental project that gives Python programsthe ability to regenerate,” just like the Marvel superhero of the same name.

To fix the code, Wolverine uses the GPT-4 language model.

Run your scripts with it, and if they crash, GPT-4 edits them and explains what went wrong. Even if you have a lot of errors, it will restart until everything is fixed.BioBootloader explains on 推特.

By the way, meanwhile Strange Enthusiasts Asked ChaosGPT to Destroy Humanity and Establish World Domination.

You might also be interested (and not so scared) to know what DJI Drones Reveal Their Pilot’s Location is, and also what Google Tag Manager Is Used to Implement Web Skimmers on E-Commerce Sites.

In the demo video, the BioBootloader developer shows a window with Python code on the left and Wolverine output on the right. It loads its own calculator script, which has a few bugs on purpose, and then executes it.

[Wolverine] launches it, sees a failure, and then turns to GPT-4 to try and figure out how to fix it.says BioBootloader.

最後, GPT-4 returns an explanation of the errors found, shows the changes it is trying to make, and then restarts the program. Having found new errors, the AI again corrects the code, which eventually works correctly, and as a result, the source file contains the changes made by Wolverine.

The project code is already available on GitHub, and the developer says the technique can be applied to other programming languages as well.

Wolverine requires an OpenAI API key for GPT-3.5 or GPT-4, which is available by subscription only. The GPT 3.5 API is currently open to anyone with an OpenAI account, however access to GPT-4 is still limited to a waiting list.

關於作者

卡琳娜·威爾遜

隨著超過 10 多年在線和印刷媒體寫作經驗, 我是提供清晰且引人注目的文案的專家.

我曾為一家領先的 SEO 文案機構撰寫文章,也為一些英國最知名的品牌撰寫文章, 雜誌和報紙.

發表評論