Google AI chatbot Bard now helps people generate, debug programming code

"You can easily export Python code to Google Colab -- no copy and paste required. Bard can also assist with writing functions for Google Sheets," said the tech giant

Google, alphabet
Photo: Bloomberg
IANS New Delhi
2 min read Last Updated : Apr 22 2023 | 2:22 PM IST

Google has updated its AI chatbot called Bard to help people with programming and software development tasks, including code generation, code debugging and explanation.

The company is launching these capabilities in more than 20 programming languages including C++, Go, Java, Javascript, Python and Typescript.

"You can easily export Python code to Google Colab -- no copy and paste required. Bard can also assist with writing functions for Google Sheets," said the tech giant.

In addition to generating code, Bard can also help explain code snippets for people, especially those who are learning about programming for the first time.

If Bard gives you an error message or code that doesn't do what you intended, just tell Bard "this code didn't work, please fix it", and Bard can help you debug, said the company.

Bard is still an early experiment, and may sometimes provide inaccurate, misleading or false information while presenting it confidently, Google admitted.

However, when it comes to coding, Bard may give you working code that doesn't produce the expected output, or provide you with code that is not optimal or incomplete.

"Always double-check Bard's responses and carefully test and review code for errors, bugs and vulnerabilities before relying on it," the company explained.

Bard is already helping people with everyday tasks, from crafting presentations and writing lesson plans to inventing new recipes or planning a workout routine.

Alarmed at the success of Microsoft-owned OpenAI's ChatGPT, Alphabet and Google CEO Sundar Pichai has created a unit that will help the company build more capable AI systems safely and responsibly.

This group, called 'Google DeepMind', will bring together two leading research groups in the AI field: the Brain team from Google Research, and DeepMind.

--IANS

na/prw/ksk/

(Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed.)

*Subscribe to Business Standard digital and get complimentary access to The New York Times

Smart Quarterly

₹900

3 Months

₹300/Month

SAVE 25%

Smart Essential

₹2,700

1 Year

₹225/Month

SAVE 46%
*Complimentary New York Times access for the 2nd year will be given after 12 months

Super Saver

₹3,900

2 Years

₹162/Month

Subscribe

Renews automatically, cancel anytime

Here’s what’s included in our digital subscription plans

Exclusive premium stories online

  • Over 30 premium stories daily, handpicked by our editors

Complimentary Access to The New York Times

  • News, Games, Cooking, Audio, Wirecutter & The Athletic

Business Standard Epaper

  • Digital replica of our daily newspaper — with options to read, save, and share

Curated Newsletters

  • Insights on markets, finance, politics, tech, and more delivered to your inbox

Market Analysis & Investment Insights

  • In-depth market analysis & insights with access to The Smart Investor

Archives

  • Repository of articles and publications dating back to 1997

Ad-free Reading

  • Uninterrupted reading experience with no advertisements

Seamless Access Across All Devices

  • Access Business Standard across devices — mobile, tablet, or PC, via web or app

More From This Section

Topics :GoogleArtificial intelligence

First Published: Apr 22 2023 | 2:22 PM IST

Next Story