Google’s AI chatbot Bard now has the ability to help developers write code.
In a blog post (opens in a new tab) on Friday, Google announced new features for its generative AI tools, including code generation, debugging, and code interpretation for beginners.
The new feature matches similarly programmed features offered by its rivals, amid stiff competition from OpenAI’s ChatGPT and Microsoft’s Bing Chat.
SEE ALSO: Auto-GPT, BabyAGI, and AgentGPT: Using AI Agents
Bard’s code generation is available for more than 20 different languages, including C++, Go, Java, Javascript, Python, and Typescript. Additionally, it can help debug code written by the user or by Bard himself. By sharing error messages, Bard will help you troubleshoot.For new programmers, you can share code snippets and Bard will provide you with programming language and code block decomposition
The explosion of competing generative AI tools has placed Google at a disadvantage. After announcing Code Red (opens in a new tab) in response to ChatGPT launching in November 2022, Google hastily rolled out Bard despite internal concerns that it wasn’t ready yet. Former and current members of Google’s safety and ethics team report being sidelined by the tech giant’s new priorities in bringing consumer-facing artificial intelligence tools to market.
In a blog post announcing the new encoding feature, Google was quick to point out that Bard is an experiment. It can confidently serve you false or misleading information.
“Be sure to double-check Bard’s answer and carefully test and review the code for bugs, bugs, and exploits before relying on it,” said Paige Bailey, product manager at Google Research.