{"id":367,"date":"2021-10-01T14:00:59","date_gmt":"2021-10-01T12:00:59","guid":{"rendered":"https:\/\/www.eu-japan.ai\/?p=367"},"modified":"2021-10-01T14:00:59","modified_gmt":"2021-10-01T12:00:59","slug":"github-and-openia-join-forces-to-create-artificial-intelligence-capable-of-auto-completing-code","status":"publish","type":"post","link":"https:\/\/www.eu-japan.ai\/ja\/github-and-openia-join-forces-to-create-artificial-intelligence-capable-of-auto-completing-code\/","title":{"rendered":"GitHub and OpenIA join forces to create artificial intelligence capable of auto-completing code"},"content":{"rendered":"<div class=\"row vc_row wpb_row vc_row-fluid mpc-row\"><div class=\"bs-vc-wrapper\"><div class=\"wpb_column bs-vc-column vc_column_container vc_col-sm-12 mpc-column\" data-column-id=\"mpc_column-86a8c0c1fed58a\"><div class=\"bs-vc-wrapper wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element  bs-vc-block\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><strong>GitHub Copilot works with OpenAI&rsquo;s artificial intelligence to make writing code as easy as possible supporting multiple programming languages.<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">GitHub, the collaborative software development platform, has associated with OpenAI to create an artificial intelligence tool which helps to write code more efficiently. This solution, called GitHub Copilot, is able to suggest code and, in some cases, even complete functions. To put it simply, it could be similar to Gmail&rsquo;s autocomplete, for example, when writing emails, but applied to the field of programming.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The partnership has allowed OpenAI&rsquo;s artificial intelligence system (Codex Model) to be trained with millions of lines of code stored on GitHub. In this way, it has learned to provide accurate advice: AI is not inventing code, rather it is using and learning from code that other developers (flesh and blood) have already written and which has been ratified by the community. In a simplified way, it could be said that what GitHub Copilot is doing is googling for us and presenting the best results. GitHub Copilot does not want to replace developers, but rather focus on being a tool for improving productivity and facilitating the learning of different programming languages. It supports a wide range of frameworks and languages. Right now it is able to support Python, JavaScript, TypeScript, Ruby and Go developers, and is expected to include more languages in the future.<\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div class=\"wpb_single_image wpb_content_element vc_align_center\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\"><div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img width=\"1366\" height=\"1106\" src=\"https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-image-01.png\" class=\"vc_single_image-img attachment-full\" alt=\"EU-Japan.AI PLA Article 0029EN image 01\" loading=\"lazy\" srcset=\"https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-image-01.png 1366w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-image-01-300x243.png 300w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-image-01-1024x829.png 1024w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-image-01-768x622.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\"><\/div>\n\t\t<\/figure><\/div>\n\n\t<div class=\"wpb_text_column wpb_content_element  vc_custom_1633089462725 bs-vc-block\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Image Source: <a href=\"https:\/\/www.xataka.com\/robotica-e-ia\/programar-cuando-maquina-hace-poco-ti-asi-github-copilot-sistema-que-se-nutre-prodigioso-gpt-3\" target=\"_blank\" rel=\"noopener\">https:\/\/www.xataka.com\/robotica-e-ia\/programar-cuando-maquina-hace-poco-ti-asi-github-copilot-sistema-que-se-nutre-prodigioso-gpt-3<\/a><\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div class=\"wpb_text_column wpb_content_element  bs-vc-block\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">GitHub Copilot tries to make writing code as easy as possible. The system analyses the context of the editor and transforms comments into code. This can be very useful for quickly producing repetitive code patterns. Also, GitHub Copilot suggests tests that match the code being written and facilitates software development in any of the supported programming languages. All thanks to its ability to interpret the reliability of the suggested code by focusing on secure and effective code. Changes are not applied immediately; the user can choose which suggestion to accept or reject. It is also possible to manually edit the suggested code. Github Copilot is able to learn from the code it analyses every day to offer more specific and useful recommendations. This is thanks to the artificial intelligence model that brings it to life.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The process is as follows:<\/span><\/p>\n<ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The user starts writing code in the editor.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">That code provides a context to GitHub Copilot for what the user wants to achieve.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The specialised AI provides suggestions based on public (largely GitHub&rsquo;s own) code and text from the internet that seemingly fits the context.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">An answer of what AI interprets as ideal is shown, but alternatives are also be provided.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The user reviews the recommendations and accepts or rejects whatever it deems appropriate providing feedback to the service.<\/span><\/li>\n<\/ul><\/div>\n\t<\/div>\n\n\t<div class=\"wpb_single_image wpb_content_element vc_align_center\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\"><div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img width=\"1920\" height=\"922\" src=\"https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01.png\" class=\"vc_single_image-img attachment-full\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01.png 1920w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01-300x144.png 300w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01-1024x492.png 1024w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01-768x369.png 768w, https:\/\/www.eu-japan.ai\/wp-content\/uploads\/2021\/10\/EU-Japan.AI-PLA-Article-0029EN-featured-image-01-1536x738.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\"><\/div>\n\t\t<\/figure><\/div>\n\n\t<div class=\"wpb_text_column wpb_content_element  vc_custom_1633089571070 bs-vc-block\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Image Source: <a href=\"https:\/\/copilot.github.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/copilot.github.com\/<\/a><\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div class=\"wpb_text_column wpb_content_element  vc_custom_1633089614793 bs-vc-block\">\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"color: #050599;\"><b>Author:<\/b><span style=\"font-weight: 400;\"> Iraide Unanue<\/span><\/span><\/p>\n<p><span style=\"color: #050599;\"><strong>Sources<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/hipertextual.com\/2021\/06\/github-inteligencia-artificial-autocompletar-codigo\" target=\"_blank\" rel=\"noopener\">https:\/\/hipertextual.com\/2021\/06\/github-inteligencia-artificial-autocompletar-codigo<\/a><\/p>\n<p><a href=\"https:\/\/www.xataka.com\/robotica-e-ia\/programar-cuando-maquina-hace-poco-ti-asi-github-copilot-sistema-que-se-nutre-prodigioso-gpt-3\" target=\"_blank\" rel=\"noopener\">https:\/\/www.xataka.com\/robotica-e-ia\/programar-cuando-maquina-hace-poco-ti-asi-github-copilot-sistema-que-se-nutre-prodigioso-gpt-3<\/a><\/p>\n<p><a href=\"https:\/\/www.itdo.com\/blog\/que-es-github-copilot\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.itdo.com\/blog\/que-es-github-copilot\/<\/a><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"GitHub Copilot works with OpenAI's artificial intelligence to make writing code as easy as possible supporting multiple programming languages. GitHub, the collaborative software development platform, has associated with OpenAI to create an artificial intelligence tool which helps to write code more efficiently. This solution, called GitHub Copilot, is able to suggest code and, in some","protected":false},"author":1,"featured_media":369,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false},"categories":[1],"tags":[37,47,48],"_links":{"self":[{"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/posts\/367"}],"collection":[{"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":1,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"predecessor-version":[{"id":370,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/posts\/367\/revisions\/370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/media\/369"}],"wp:attachment":[{"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eu-japan.ai\/ja\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}