Connect with us

Hi, what are you looking for?

Bytes

Google’s Bard AI Chatbot Now Helps Users To Code

Group product manager Paige Bailey says, ‘This is particularly helpful if you’re learning about programming for the first time’

Google’s Bard can now help users write code as the search giant claims it is responding to one of the top requests from users.

Paige Bailey, group product manager at Google Research explained, “Starting now, Bard can help with programming and software development tasks, including code generation, debugging and code explanation.” Bailey went on to add that the search giant is launching its new coding capabilities in, “More than 20 programming languages including C++, Go, Java, Javascript, Python and Typescript.”

Bard users can easily export Python code to Google Colab without having to utilise copy and paste. The Google chatbot can also assist with writing functions for Google Sheets.

It can do more than just generate code

Bailey went on to add that Bard can also explain code snippets for users. “This is particularly helpful if you’re learning about programming for the first time, or if you need some additional support to understand what a block of code might output.”

In addition, the chatbot can also help users debug external codes and codes that were written by Bard itself. If the chatbot provides a user with an error message or an incorrect code, the user can simply tell Bard, “This code didn’t work, please fix it,” and they can sit back and watch Bard debug the code.

It’s not yet perfect

Bard is still an early experiment and Google notes that it may sometimes, “Provide inaccurate, misleading or false information while presenting it confidently.” And as for the chatbot’s coding capabilities, Google says Bard may provide users with, “Working code that doesn’t produce the expected output, or provide you with code that is not optimal or incomplete.”

The search giant further urges users to double-check the chatbot’s responses and to test and review generated codes for errors, bugs and vulnerabilities before putting it to use.

Google is seemingly late to the AI code generation party as OpenAI’s GPT-4 has been helping users write code and create games ever since it launched in early March. But Bard’s new ability to write code, create test cases, or update APIs is a fine addition to the chatbot’s capabilities and is a feature that many users will find useful.

Written By

Isa Muhammad is a writer and video game journalist covering many aspects of entertainment media including the film industry. He's steadily writing his way to the sharp end of journalism and enjoys staying informed. If he's not reading, playing video games or catching up on his favourite TV series, then he's probably writing about them.

You May Also Like

Level Up

Eager to be at the metaverse frontier, but not sure how to get started? As exciting as the idea of a shared digital space...

Bytes

Fashion brand teams up with proto-metaverse for two new eyewear options, the Helux and Hydra

Bytes

New blockchain gaming platform based on Unreal Engine 5.

Bytes

The record for the most expensive land sale in the metaverse has just been raised

Advertisement
Advertisement

Subscribe to the future

Advertisement