Skip to content

Google’s Bard AI chatbot can now generate and debug code


Google’s conversational AI tool Bard can now help software developers with programming, including code generation, debugging and explaining code, a new set of skills added in response to demand of the users.

Encoding has been one of the top requests Google has received from users, according to to a friday blog Post by Google Research Product Lead Paige Bailey.

Google said Friday that it is rolling out these software development capabilities in more than 20 programming languages, including C++, Go, Java, JavaScript, Python, and TypeScript. Users can export Python code to Google Collaboration. Bard can also help with writing features for Google Sheets.

Collectively, this means that Bard, the generative AI experiment Google launched earlier this year, you can review and help users debug your source code line by line. Google said developers can tell Bard “this code didn’t work, please fix it”, and it will help debug.

It can also translate code from one language to another and explain code snippets, a useful feature for those new to programming.

bard, what was built to compete with ChatGPT and other language models, not pretty stack their AI peers in TechCrunch’s own tests of chatbot performance. This last set of skills could help Bard at least keep up with ChatGPT and Claude, at least on paper.

As Well Bard being able to create, translate and debug code is another matter.

As Bailey warned in the blog post, Bard is still an early experiment and “can sometimes provide inaccurate, misleading, or false information while presenting it with confidence.”

For example, Bard may give developers working code that is incomplete or does not produce the expected result.

“Despite these challenges, we believe Bard’s new capabilities can help you by offering new ways to write code, create test cases, or update APIs. If Bard quotes at length from an existing open source project, he will cite the source,” Bailey wrote.


—————————————————-

Source link

For more news and articles, click here to see our full list.