Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters
Google's Bard focuses on creating new ways to engage with information. Reuters

Google adds coding capabilities to Bard


Alkesh Sharma
  • English
  • Arabic

Google said its new generative artificial intelligence tool Bard can now help users write code to develop software, as the company wrestles Microsoft-backed Bing and ChatGPT for a greater share of the generative AI market.

With its new capabilities, Bard will help users with programming and software development tasks, including code generation, debugging and code explanation, the company said on Friday.

Since Bard’s launch in February, coding has been one of the top requests Google has received from its users.

“We are launching these capabilities in more than 20 programming languages including C++, Go, Java, JavaScript, Python and Typescript,” said Paige Bailey, group product manager at Google research.

“And you can easily export Python code to Google Colab — no copy and paste required.”

Besides writing code, Bard can also explain code snippets to users.

“This is particularly helpful if you are learning about programming for the first time, or if you need some additional support to understand what a block of code might output,” Ms Bailey said.

Bard focuses on creating new ways to engage with information, from language and images to videos and audio. In March, Google opened limited public access to select consumers in the US and the UK.

However, Bard so far not gained the kind of traction seen by its rival, the hugely popular ChatGPT, which was launched last year.

The global generative AI market is expected to reach $188.62 billion by 2032, growing at an annual rate of more than 36 per cent, from $8.65 billion last year, data from the Brainy Insights market research company showed. The North American region dominated the market this past year.

Google admits that Bard is still in an early experimental phase, and may sometimes provide inaccurate or misleading information while presenting it confidently.

“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,” Ms Bailey said.

“Always double-check Bard’s responses and carefully test and review code for errors, bugs and vulnerabilities before relying on it.”

In February, Google's parent company Alphabet lost $100 billion in market value after Bard made a factual error in a promotional video.

Our legal columnist

Name: Yousef Al Bahar

Advocate at Al Bahar & Associate Advocates and Legal Consultants, established in 1994

Education: Mr Al Bahar was born in 1979 and graduated in 2008 from the Judicial Institute. He took after his father, who was one of the first Emirati lawyers

F1 The Movie

Starring: Brad Pitt, Damson Idris, Kerry Condon, Javier Bardem

Director: Joseph Kosinski

Rating: 4/5

Lexus LX700h specs

Engine: 3.4-litre twin-turbo V6 plus supplementary electric motor

Power: 464hp at 5,200rpm

Torque: 790Nm from 2,000-3,600rpm

Transmission: 10-speed auto

Fuel consumption: 11.7L/100km

On sale: Now

Price: From Dh590,000

Scorebox

Dubai Hurricanes 31 Dubai Sports City Eagles 22

Hurricanes

Tries: Finck, Powell, Jordan, Roderick, Heathcote

Cons: Tredray 2, Powell

Eagles

Tries: O’Driscoll 2, Ives

Cons: Carey 2

Pens: Carey

COMPANY%20PROFILE
%3Cp%3E%3Cstrong%3ECompany%20name%3C%2Fstrong%3E%3A%20ASI%20(formerly%20DigestAI)%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EStarted%3A%3C%2Fstrong%3E%202017%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EFounders%3A%3C%2Fstrong%3E%20Quddus%20Pativada%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EBased%3A%3C%2Fstrong%3E%20Dubai%2C%20UAE%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EIndustry%3A%3C%2Fstrong%3E%20Artificial%20intelligence%2C%20education%20technology%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EFunding%3A%3C%2Fstrong%3E%20%243%20million-plus%3C%2Fp%3E%0A%3Cp%3E%3Cstrong%3EInvestors%3A%3C%2Fstrong%3E%20GSV%20Ventures%2C%20Character%2C%20Mark%20Cuban%3C%2Fp%3E%0A
UAE currency: the story behind the money in your pockets
The Perfect Couple

Starring: Nicole Kidman, Liev Schreiber, Jack Reynor

Creator: Jenna Lamia

Rating: 3/5

Updated: April 21, 2023, 6:06 PM`