GitHub started testing an AI assistant to help you write code

GitHub introduced the GitHub Copilot project, which develops an intelligent assistant that can generate generic constructs while writing code. The system was developed in collaboration with the OpenAI project and uses the OpenAI Codex machine learning platform, trained on a large array of source codes hosted in public GitHub repositories.

GitHub Copilot differs from traditional code completion systems in the ability to form rather complex code blocks, up to ready-made functions synthesized taking into account the current context. GitHub Copilot adapts to the way a developer writes code and takes into account the APIs and frameworks used in the program. For example, if there is an example of a JSON structure in the comment, when you start writing a function to parse this structure, GitHub Copilot will offer ready-made code, and when writing routine enumerations of repeated descriptions, it will form the remaining positions.

GitHub started testing an AI assistant to help you write code

GitHub Copilot is currently available as an add-on to the Visual Studio Code editor. Code generation is supported in Python, JavaScript, TypeScript, Ruby and Go programming languages ​​using various frameworks. In the future, it is planned to expand the number of supported languages ​​and development systems. The work of the add-on is carried out through a call to an external service running on the GitHub side, to which, among other things, the contents of the edited code file are transferred.

GitHub started testing an AI assistant to help you write code


Source: opennet.ru

Add a comment