AI

Duet AI, Google’s AI assistant suite, expands across Google Cloud

Comment

The Google corporate logo and Google Cloud logo stand outside the Google Germany offices in Berlin.
Image Credits: Sean Gallup / Getty Images

Duet AI, Google’s collection of generative AI features for text summarization, organizing data and more, is expanding to new products and services in Google Cloud.

At its annual Cloud Next conference, Google announced that Duet AI — still in preview with general availability set for sometime later this year — can now assist with code refactoring, or improving code by making small changes without altering the code’s overall external behavior.

In a developer’s preferred software development environment, they can open a Duet AI-powered chat window and write a natural language prompt (e.g. “Convert this function to Go and use Cloud SQL”) to have Duet AI execute on it (in this case, rewrite the function and convert the database connection to a managed relational database). And in the Google Cloud Console, Google Cloud’s dashboard for building and deploying web apps, websites and services, operators can chat with Duet AI to get “how to” information about infrastructure configuration and suggestions on deployment, cost and performance optimization.

Duet AI in Cloud Workstations, Google’s newly launched dev environment, can write code while highlighting best practices. Meanwhile, in Application Integration, the no-code tool to weave together software-as-a-service apps in Google Cloud, Duet can generate flows using existing APIs and assets, automatically creating documentation and test cases.

Select enterprises will be able to customize Duet AI with “organization-specific” knowledge from their libraries and codebases to generate context-aware code suggestions, Google says. That’ll let Duet AI, for example, generate code for a function that finds all products under $10 in a company’s product catalog.

Elsewhere, Duet AI can also now help design, create and publish APIs from natural language prompts via new connectors to Apigee, Google’s API management platform. And it’s more tightly integrated with BigQuery, Google’s fully managed serverless data warehouse, and Looker, the business intelligence tool for data exploration and discovery in Google Cloud.

Google describes Duet AI in BigQuery as a “collaborative” experience integrated into the BigQuery interface to provide “contextual assistance” for writing SQL queries and Python. Duet AI in BigQuery can auto-suggest code in real time based on existing metadata and schema, generating full functions and code blocks while recommending possible fixes and explaining the code. Beyond this, Duet AI can generate vector embeddings — mathematical representations of data — to power semantic searches and recommendation queries.

Using Vertex AI, Google’s platform for building, training and deploying machine learning models in the cloud, customers can customize the text-to-code model behind Duet AI to bring the model’s suggestions in line with their coding standards and practices.

In Looker, Duet AI powers new “context-rich insights” and report creation tools, plus a chat feature called Duet AI chat assistance. Similar to AI-powered chatbots such as OpenAI’s ChatGPT, chat assistance — which is also available in Cloud Workstations, Spanner and Apigee — allows users to ask questions about their business data and get answers back in natural language,

Via chat assistance and from other dashboards, Duet AI in Looker can automatically generate presentations; create summaries, calculations and visualizations based on saved reports; and start projects in LookML, Looker’s modeling language for describing data relationships. Later this year, Google says that it’ll add a Duet AI experience to analyze data in a collaborative notebook.

Duet AI is also coming to AlloyDB (Google’s fully managed database service), Cloud SQL and Cloud Spanner, the distributed database management and storage service in Google Cloud. From Cloud Spanner, Duet AI will help to generate code to structure, modify and query data using natural language. A command like “Write a query to show all data in the messages table” will prompt Duet AI to automatically generate the required code, for instance.

And Duet AI will soon arrive in Google’s Database Migration Service (DMS) to streamline the process of migrating data from a third party to Google Cloud. Later this year for Oracle customers, Duet AI in DMS will automate the conversion of certain database code, including stored procedures, functions, triggers, packages and custom query language code to AlloyDB and Cloud SQL.

Google promises a lot with Duet AI. But this reporter wonders about the underlying models’ tendencies to make mistakes, particularly in the coding arena.

Much has been written about the risks around generative AI coding tools, including their limitations when it comes to interpreting context. A recent Stanford study found that software engineers who use code-generating AI systems are more likely to cause security vulnerabilities in the apps that they develop. And, as one early user of GitHub’s generative AI, Copilot, pointed out, generative AI can be misled by ambiguous requirements, variable naming conflicts or even the misplacement of a single line of code.

Then, there’s the issue of copyright.

Code-generating systems like some of the features of Duet AI are trained on publicly available code, and some of this code, inevitably, is under a restrictive license. Several legal experts have argued that generative AI tools could put companies at risk if they were to unwittingly incorporate copyrighted suggestions from the tools into their production software.

Google’s mitigating step is having Duet AI cite the sources for its code suggestions. Attempting to allay enterprise customers’ privacy and security fears, Google says that the code and inputs to Duet AI, as well as recommendations generated by Duet AI, won’t be stored to train models powering Duet AI (like PaLM 2) or used to develop any products.

Read more about Google Cloud Next 2023 on TechCrunch

More TechCrunch

Zen Educate, an online marketplace that connects schools with teachers, has raised $37 million in a Series B round of funding. The raise comes amid a growing teacher shortage crisis…

Zen Educate raises $37M and acquires Aquinas Education as it tries to address the teacher shortage

“When I heard the released demo, I was shocked, angered and in disbelief that Mr. Altman would pursue a voice that sounded so eerily similar to mine.”

Scarlett Johansson says that OpenAI approached her to use her voice

A new self-driving truck — manufactured by Volvo and loaded with autonomous vehicle tech developed by Aurora Innovation — could be on public highways as early as this summer.  The…

Aurora and Volvo unveil self-driving truck designed for a driverless future

The European venture capital firm raised its fourth fund as fund as climate tech “comes of age.”

ETF Partners raises €284M for climate startups that will be effective quickly — not 20 years down the road

Copilot, Microsoft’s brand of generative AI, will soon be far more deeply integrated into the Windows 11 experience.

Microsoft wants to make Windows an AI operating system, launches Copilot+ PCs

Hello and welcome back to TechCrunch Space. For those who haven’t heard, the first crewed launch of Boeing’s Starliner capsule has been pushed back yet again to no earlier than…

TechCrunch Space: Star(side)liner

When I attended Automate in Chicago a few weeks back, multiple people thanked me for TechCrunch’s semi-regular robotics job report. It’s always edifying to get that feedback in person. While…

These 81 robotics companies are hiring

The top vehicle safety regulator in the U.S. has launched a formal probe into an April crash involving the all-electric VinFast VF8 SUV that claimed the lives of a family…

VinFast crash that killed family of four now under federal investigation

When putting a video portal in a public park in the middle of New York City, some inappropriate behavior will likely occur. The Portal, the vision of Lithuanian artist and…

NYC-Dublin real-time video portal reopens with some fixes to prevent inappropriate behavior

Longtime New York-based seed investor, Contour Venture Partners, is making progress on its latest flagship fund after lowering its target. The firm closed on $42 million, raised from 64 backers,…

Contour Venture Partners, an early investor in Datadog and Movable Ink, lowers the target for its fifth fund

Meta’s Oversight Board has now extended its scope to include the company’s newest platform, Instagram Threads, and has begun hearing cases from Threads.

Meta’s Oversight Board takes its first Threads case

The company says it’s refocusing and prioritizing fewer initiatives that will have the biggest impact on customers and add value to the business.

SeekOut, a recruiting startup last valued at $1.2 billion, lays off 30% of its workforce

The U.K.’s self-proclaimed “world-leading” regulations for self-driving cars are now official, after the Automated Vehicles (AV) Act received royal assent — the final rubber stamp any legislation must go through…

UK’s autonomous vehicle legislation becomes law, paving the way for first driverless cars by 2026

ChatGPT, OpenAI’s text-generating AI chatbot, has taken the world by storm. What started as a tool to hyper-charge productivity through writing essays and code with short text prompts has evolved…

ChatGPT: Everything you need to know about the AI-powered chatbot

SoLo Funds CEO Travis Holoway: “Regulators seem driven by press releases when they should be motivated by true consumer protection and empowering equitable solutions.”

Fintech lender SoLo Funds is being sued again by the government over its lending practices

Hard tech startups generate a lot of buzz, but there’s a growing cohort of companies building digital tools squarely focused on making hard tech development faster, more efficient and —…

Rollup wants to be the hardware engineer’s workhorse

TechCrunch Disrupt 2024 is not just about groundbreaking innovations, insightful panels, and visionary speakers — it’s also about listening to YOU, the audience, and what you feel is top of…

Disrupt Audience Choice vote closes Friday

Google says the new SDK would help Google expand on its core mission of connecting the right audience to the right content at the right time.

Google is launching a new Android feature to drive users back into their installed apps

Jolla has taken the official wraps off the first version of its personal server-based AI assistant in the making. The reborn startup is building a privacy-focused AI device — aka…

Jolla debuts privacy-focused AI hardware

The ChatGPT mobile app’s net revenue first jumped 22% on the day of the GPT-4o launch and continued to grow in the following days.

ChatGPT’s mobile app revenue saw its biggest spike yet following GPT-4o launch

Dating app maker Bumble has acquired Geneva, an online platform built around forming real-world groups and clubs. The company said that the deal is designed to help it expand its…

Bumble buys community building app Geneva to expand further into friendships

CyberArk — one of the army of larger security companies founded out of Israel — is acquiring Venafi, a specialist in machine identity, for $1.54 billion. 

CyberArk snaps up Venafi for $1.54B to ramp up in machine-to-machine security

Founder-market fit is one of the most crucial factors in a startup’s success, and operators (someone involved in the day-to-day operations of a startup) turned founders have an almost unfair advantage…

OpenseedVC, which backs operators in Africa and Europe starting their companies, reaches first close of $10M fund

A Singapore High Court has effectively approved Pine Labs’ request to shift its operations to India.

Pine Labs gets Singapore court approval to shift base to India

The AI Safety Institute, a U.K. body that aims to assess and address risks in AI platforms, has said it will open a second location in San Francisco. 

UK opens office in San Francisco to tackle AI risk

Companies are always looking for an edge, and searching for ways to encourage their employees to innovate. One way to do that is by running an internal hackathon around a…

Why companies are turning to internal hackathons

Featured Article

I’m rooting for Melinda French Gates to fix tech’s broken ‘brilliant jerk’ culture

Women in tech still face a shocking level of mistreatment at work. Melinda French Gates is one of the few working to change that.

2 days ago
I’m rooting for Melinda French Gates to fix tech’s  broken ‘brilliant jerk’ culture

Blue Origin has successfully completed its NS-25 mission, resuming crewed flights for the first time in nearly two years. The mission brought six tourist crew members to the edge of…

Blue Origin successfully launches its first crewed mission since 2022

Creative Artists Agency (CAA), one of the top entertainment and sports talent agencies, is hoping to be at the forefront of AI protection services for celebrities in Hollywood. With many…

Hollywood agency CAA aims to help stars manage their own AI likenesses

Expedia says Rathi Murthy and Sreenivas Rachamadugu, respectively its CTO and senior vice president of core services product & engineering, are no longer employed at the travel booking company. In…

Expedia says two execs dismissed after ‘violation of company policy’