Google has updated Bardits artificial intelligence chatbot, and has provided it with one of the features most requested by users: can now help you schedule. According to announced those of Mountain View, generative AI is already capable of creating, correcting and explaining code in more than 20 programming languages.
In this way, Google puts Bard on a par with ChatGPT and the new Bing, which already offered the ability to understand and generate code from scratch. Among the languages supported by the platform are Python, Javascript, C++, Go, Typescript, and Java.
An interesting point of this new function of Bard is that it also allows you to export code written in Python directly to Google Colab, the platform for programming directly from a web browser. The latter is presented as a particularly useful option, since it eliminates the need to copy and paste.
Bard’s support for programming languages works in the same way as it already happens in ChatGPT or Bing. You just have to ask it to generate the code necessary to execute a certain action, and that’s it. Although it is not limited to it. You can also ask him to explain what a certain code snippet means, or to help you fix bugs.
Google now helps you program with Bard
The option to generate and correct code that Google has given to Bard can be especially useful for those who are learning to program. Or even to optimize workflows. In fact, those in Mountain View explained that users can enter their own code into the chatbot and ask it to find ways to make it faster or more efficient.
Still, Californians have warned that this new feature of their generative AI is far from perfect. “When it comes to programming, Bard can provide you with functional code that doesn’t produce the expected result, or code that is suboptimal or incomplete. Always check Bard’s answers and carefully test and review your code for bugs, glitches, etc. and vulnerabilities before trusting it,” Google explained.
It is likely that in a few days we will begin to see the first comparisons between the capabilities of Bard, ChatGPT and Bing to program. It will be interesting to see how Google’s chatbot fares in this territory and how it solves certain challenges. Specifically, how to stand up to a common problem of this type of platform: proprietary code theft.
Let’s not forget that even Copilot, the GitHub assistant, has been accused of using code blocks belonging to projects that were not Open Source. In Bard’s case, Google claims that if he “extensively cites” an open source project, it will indicate what its source has been.