Google has announced the expansion of its Duet AI features across various cloud services, including data analytics, databases, and infrastructure and application management. This announcement was made during the Google Cloud Next conference.
Initially introduced at Google I/O in May, Duet AI provided developer features like code and chat assistance. However, Google has now enhanced its capabilities to include code refactoring and translation, context-aware code generation, API management, and application management.
Code refactoring is an important step in modernizing applications, and enterprise users can now utilize Duet AI within their development environment to generate new code in their desired programming language by simply using natural language prompts.
The use of AI for code refactoring and translation is gaining popularity, as evidenced by IBM’s recent release of a feature in its Code Assistant that allows enterprises to refactor COBOL code and translate it into Java for their Z mainframe systems.
Access to Duet AI is available across various development environments, including the Google Cloud console, Cloud Workstations, and Cloud Shell Editor. It is also accessible through Cloud Code IDE extensions in third-party development environments such as Visual Studio Code and JetBrains IDEs.
Although Google has not explicitly disclosed the programming languages supported by Duet AI, they provided an example of converting C++ code to Go. The third-party IDEs it works with support a range of languages, including .NET, Java, Python, C, and C++.
Google further mentioned that Duet AI can be made code aware, allowing select enterprises to train and customize the generative AI-based assistant with enterprise-specific knowledge from libraries and code bases. This customization enables the assistant to provide context-aware suggestions to users.