Google Expands Duet AI in Google Cloud to Enhance Development and Data Analysis Capabilities

2023-09-05

At the Google Cloud Next conference, Google has expanded the capabilities of its always-on collaboration tool, Duet AI, to assist developers in application development, DevOps, database management and migration, data analysis and visualization, as well as network security. Duet AI in Google Cloud provides expert assistance throughout the software development lifecycle. This includes code generation, source code referencing, test coverage, API design and release, application migration, and modernization. Duet AI now supports code refactoring to help developers modernize their legacy applications. Google states that this is typically a complex task, but Duet AI simplifies it by allowing developers to express a prompt in natural language. For example, developers can use Duet AI to migrate an existing application from C++ to Go and replace it with the Google Cloud SQL database. A simple prompt such as "Convert this function to Go and use Cloud SQL" is all that is needed. Another new feature of Duet AI is context-aware code generation, which leverages knowledge about the company's codebase and libraries to generate specific code suggestions. This means that the generated code can utilize classes and methods from the company's codebase. For DevOps, Duet AI offers new features to manipulate and manage infrastructure, automate deployments, enforce correct configurations, and assist in understanding and debugging issues. Duet AI also integrates with BigQuery to provide context-aware assistance for writing SQL and Python code to access and analyze data. Additionally, it can generate vector embeddings in BigQuery to build semantic search and recommendation queries. In addition to BigQuery, Duet AI can work with relational databases such as Cloud Spanner, AlloyDB, and Cloud SQL, and generate code based on natural language prompts to structure, modify, or query data. Furthermore, it can drive the Google Database Migration Service to automate code transformations, such as stored procedures, functions, triggers, packages, and custom PL/SQL code. Lastly, the new capabilities of Duet AI include the ability to summarize and categorize vulnerability information and provide recommendations on how to address security issues. Duet AI can be used in the Google Cloud Console, Cloud Workstations, and Cloud Shell Editor, as well as in external IDEs through the Cloud Code IDE extension. Supported IDEs include VSCode, CLion, GoLand, IntelliJ, PyCharm, Rider, and WebStorm. Although Duet AI is currently in preview, Google has announced that its official release will take place later this year.

RECENT AI NEWS

RECENT AI TOOLS