Bard allows users to export Python code to Google Colab without having to copy and paste.
Google stressed the importance of double-checking Bard’s answers and thoroughly testing and reviewing code for errors, bugs, and vulnerabilities before relying on it.
US-based tech giant Google has introduced new capabilities in its AI chatbot, Bard, to help users with programming and software development tasks, including code generation, code debugging and code explanation. Bard is now available in more than 20 programming languages, including C++, Go, Java, JavaScript, Python, and TypeScript.
Bard allows users to export Python code to Google Colab without having to copy and paste. The chatbot can also help with writing functions for Google Sheets, according to Google. In addition to generating code, Bard can explain code snippets, which makes it useful for those learning programming for the first time.
If users encounter an error message or receive code that doesn’t work as intended, they can ask Bard to fix the problem by saying “this code didn’t work, please fix it.” However, Google cautioned that Bard is still an early experiment and can sometimes provide inaccurate or misleading information while appearing confident.
Google stressed the importance of double-checking Bard’s answers and thoroughly testing and reviewing code for errors, bugs, and vulnerabilities before relying on it. Despite its capabilities, Bard can generate code that does not produce the expected output or provides sub-optimal or incomplete code.
Bard has helped users with various daily tasks such as creating presentations, writing lesson plans, coming up with new recipes and planning workout routines.
Google CEO Sundar Pichai recently created a unit called “Google DeepMind” to build more capable AI systems in a safe and responsible manner, in response to the success of Microsoft-owned OpenAI’s ChatGPT. The new unit will bring together Google Research’s Brain team and DeepMind, two leading AI research groups.
In related news, Google reportedly plans to incorporate generative artificial intelligence into its advertising business in the coming months as major tech companies scramble to adopt the technology.
Read all the latest technical news here