Google Upgrades Bard AI Chatbot With Code Generation and Debugging
Google adds coding capabilities to its Bard AI chatbot, allowing it to generate, debug, and explain code in over 20 programming languages. The update aims to help the tool compete with rivals like ChatGPT, though the company warns it may still produce inaccurate results.
Google expands its Bard AI chatbot to include software development capabilities, enabling it to generate, debug, and explain code. This update responds to high user demand and supports over 20 programming languages, including Python, Java, JavaScript, and C++. Users can also export Python code directly to Google Colab and receive assistance with writing functions for Google Sheets.
The enhanced chatbot allows developers to request line-by-line code reviews and ask Bard to fix broken scripts directly. Additionally, Bard translates code between different programming languages and explains complex code snippets to help beginners understand the logic. These new features position Bard to better compete with similar AI models like ChatGPT and Claude.
Despite these advancements, Google cautions that Bard remains an early experiment that sometimes presents inaccurate or misleading information confidently. The AI may generate incomplete code or scripts that fail to produce the expected output. However, Google believes the tool offers valuable assistance for writing code, creating test cases, and updating APIs, and promises to cite open source projects when quoting extensively.