Technology

OpenAI artificial intelligence can now write code from natural language

OpenAI artificial intelligence can now write code from natural language

Artificial intelligence is advancing by leaps and bounds. Just over a month ago, OpenAI announced Codex, a system for the GitHub platform that helps programmers come up with code and, in some cases, full functionality. But that, in a way, is already part of the past. Now, Codex is able to create games and web applications from natural language quickly and easily.

“Codex can now interpret simple natural language commands and execute them on behalf of the user, making it possible to build a natural language interface for existing applications. We are now inviting companies and developers to build on top of OpenAI Codex through our API.” explains the company.

Just a few years ago it seemed illogical to create programs through natural language. However, Codex seems to be rewriting the rules of this world and moving in that direction. For example, a user might type (in English) “create a page with a menu on the side and a title on the top.” Consequently, the OpenAI tool will interpret that request and translate it into a real result.

How to program with OpenAI Codex?

Credit: OpenAI The company explains that using Codex for programming is fairly straightforward. For this, the programmer must comply with the traditional procedure when creating a program. This, in general terms, is to be clear about what he wants to achieve, divide the work into interoperable modules and schedule them. In this last step, the OpenAI solution is the one that helps the programming task.

In addition, Codex has the ability to translate one language to another and address data science queries. However, the tool is far from perfect as it can make mistakes. For this reason, it requires further progress to interpret orders more efficiently. However, thanks to machine learning it will improve over time.

Codex is a direct descendant of GPT-3 , OpenIA's powerful artificial intelligence model. This system has been fed with millions of lines of publicly available database source code, including code in public GitHub repositories.

The result is a tool that can be applied to almost any programming task and a wide number of languages. Codex is optimized for Python, but it can also be used in more than a dozen languages ​​including JavaScript, Go, Perl, PHP, Ruby, Swift, and TypeScript, and even Shell.

OpenAI notes that Codex will be available in private beta through its API. While in the future it will be a paid tool, during the initial period OpenAI Codex will be offered free of charge. Those interested can sign up through this link to be notified when it is available.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

To Top