Google's Bard AI chatbot gets power to code

File picture

Google's experimental artificial intelligence tool, Bard, has received new features, including "code generation, debugging and code explanation," as well as the ability to use Google spreadsheet formulas, according to a recent blog post by the company.

The new features became available to users of the AI chatbot last Friday.

Google reported that many users had requested these capabilities, leading the company to add them. The code explanation feature may be particularly useful for beginners or those who need extra support to understand code output, the company said. However, Google also cautioned that Bard is still an early experiment and may occasionally provide inaccurate or misleading information.

Google stated that the updated features will be available for Python, C++, Javascript and over 17 other programming languages. This update comes just a month after Google expanded access to Bard, allowing more US and UK users to start using the chatbot.

As Google competes with Microsoft and OpenAI in the AI space, it is worth noting that OpenAI's ChatGPT chatbot has gained popularity and is now being used by companies such as Expedia, Snapchat and Salesforce.

Despite facing criticism from some of its employees for prioritising business over ethics in its AI development, Google maintains that AI ethics remains a top priority. A spokesperson for Google stated that the company is investing in the teams that work on applying AI principles to their technology.

More from Business

  • Nasdaq set to confirm bear market as Trump tariffs trigger recession fears

    The tech-heavy Nasdaq Composite index was set to confirm it was in a bear market on Friday, down more than 20 per cent from a recent record high, as investors fled riskier assets on fears that tariffs imposed by President Donald Trump could spark a trade war and tip the global economy into recession.

  • Dana Gas and Crescent Petroleum exceed 500M boe in Khor Mor field

    UAE-based Dana Gas and Crescent Petroleum, alongside their partners in the Pearl Petroleum consortium, have said the cumulative production from their Khor Mor project, the largest non-associated gas field in Iraq, has exceeded 500 million barrels of oil equivalent (boe).

  • China to impose tariffs of 34% on all US goods

    China has announced a slew of additional tariffs and restrictions against US goods as a countermeasure to sweeping tariffs imposed by US President Donald Trump. The Finance Ministry said it would impose additional tariffs of 34 per cent on all US goods from April 10.

  • Shares bruised, dollar crumbles as Trump tariffs stir recession fears

    Stocks limped to the end of the week on Friday, the dollar was set for its worst week in a month while gold flirted with a record peak as investors feared US President Donald Trump's sweeping tariffs would tip the global economy into a recession.

  • Wall Street futures sink as tariffs fuel recession fears

    US stock index futures tumbled on Thursday after President Donald Trump's sweeping tariffs on major trade partners heightened fears of an all-out trade war that could push the global economy into a recession.