Google’s Bard, a recently launched chatbot, can now write software code, according to an announcement from the tech giant. The move comes as Google tries to play catch-up with OpenAI’s ChatGPT, a competitor that was first to market with its consumer-facing AI chatbot capabilities.
“Today, we’re updating Bard with the ability to help people with programming and software development tasks, including code generation, code debugging, and explanation,” Paige Bailey, a group product manager at Google Research, said in a blog post published online Friday.
Bard, which was released with more stringent guardrails than ChatGPT, will now be able to create code in more than 20 popular programming languages, according to Google.
“Starting now, Bard can help with programming and software development tasks, including code generation, debugging and code explanation. We’re launching these capabilities in more than 20 programming languages including C++, Go, Java, Javascript, Python and Typescript. And you can easily export Python code to Google Colab — no copy and paste required. Bard can also assist with writing functions for Google Sheets,” Bailey wrote.
Bard can also explain why it produced the code it did, according to the tech giant, a helpful tool for people who may not be that familiar with coding but know the basics well enough to add snippets of code to websites.
Bard will also be able to help debug code if a particular snippet doesn’t work as intended. Typing “this code didn’t work, please fix it,” and Bard will help debug, explaining its process along the way.
Google warns that Bard is still an “early experiment” so it could produce code that just doesn’t work. But the company seems optimistic that Bard will become an important tool in the toolbox for people who want to create interesting things online.
“Bard is already helping people with everyday tasks, from crafting presentations and writing lesson plans to inventing new recipes or planning a workout routine,” Bailey explained.
“With new coding capabilities, we’re excited to apply generative AI to accelerate software development, inspire innovation, and help people solve complex engineering challenges.”
https://ift.tt/6S3Uh81
2023-04-21 19:08:15Z
CBMif2h0dHBzOi8vd3d3LmZvcmJlcy5jb20vc2l0ZXMvbWF0dG5vdmFrLzIwMjMvMDQvMjEvZ29vZ2xlcy1iYXJkLWFpLWNhbi1ub3ctd3JpdGUtY29kZS1hcy1pdC1wbGF5cy1jYXRjaC11cC13aXRoLW9wZW5haXMtY2hhdGdwdC_SAYMBaHR0cHM6Ly93d3cuZm9yYmVzLmNvbS9zaXRlcy9tYXR0bm92YWsvMjAyMy8wNC8yMS9nb29nbGVzLWJhcmQtYWktY2FuLW5vdy13cml0ZS1jb2RlLWFzLWl0LXBsYXlzLWNhdGNoLXVwLXdpdGgtb3BlbmFpcy1jaGF0Z3B0L2FtcC8
0 Commentaires