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

Government officials and AI industry executives agreed on Tuesday to apply elementary safety measures in the fast-moving field and establish an international safety research network. Nearly six months after the…

In Seoul summit, heads of states and companies commit to AI safety

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

Some startups choose to bootstrap from the beginning while others find themselves forced into self funding by a lack of investor interest or a business model that doesn’t fit traditional…

VCs wanted FarmboxRx to become a meal kit, the company bootstrapped instead

Uber and Lyft drivers in Minnesota will see higher pay thanks to a deal between the state and the country’s two largest ride-hailing companies. The upshot: a new law that…

Uber’s and Lyft’s ride-hailing deal with Minnesota comes at a cost

Andreessen Horowitz’s American Dynamism fund has established a new fellowship program aimed at introducing top engineers and technologists to venture investing, a move that could help the firm identify less…

a16z’s American Dynamism team launches program to introduce technical minds to VC

Another fintech startup, and its customers, has been gravely impacted by the implosion of banking-as-a-service startup Synapse. Copper Banking, a digital banking service aimed at teens, notified its customers on…

Teen fintech Copper had to abruptly discontinue its banking, debit products

Autodesk — the 3D tools behemoth — has acquired Wonder Dynamics, a startup that lets creators quickly and easily make complex characters and visual effects using AI-powered image analysis. The…

Autodesk acquires AI-powered VFX startup Wonder Dynamics

Farcaster, a blockchain-based social protocol founded by two Coinbase alumni, announced on Tuesday that it closed a $150 million fundraise. Led by Paradigm, the platform also raised money from a16z…

Farcaster, a crypto-based social network, raised $150M with just 80K daily users

Microsoft announced on Tuesday during its annual Build conference that it’s bringing “Windows Volumetric Apps” to Meta Quest headsets. The partnership will allow Microsoft to bring Windows 365 and local…

Microsoft’s new ‘Volumetric Apps’ for Quest headsets extend Windows apps into the 3D space

The spam reached Bluesky by first crossing over two other decentralized networks: Mastodon and Nostr.

The ‘vote Trump’ spam that hit Bluesky in May came from decentralized rival Nostr

Welcome to TechCrunch Fintech! This week, we’re looking at the continued fallout from Synapse’s bankruptcy, how Layer wants to disrupt SMB accounting, and much more! To get a roundup of…

There’s a real appetite for a fintech alternative to QuickBooks

The company is hoping to produce electricity at $13 per megawatt hour, which would be more than 50% cheaper than traditional onshore wind.

Bill Gates-backed wind startup AirLoom is raising $12M, filings reveal

Generative AI makes stuff up. It can be biased. Sometimes it spits out toxic text. So can it be “safe”? Rick Caccia, the CEO of WitnessAI, believes it can. “Securing…

WitnessAI is building guardrails for generative AI models

It’s not often that you hear about a seed round above $10 million. H, a startup based in Paris and previously known as Holistic AI, has announced a $220 million…

French AI startup H raises $220M seed round

Hey there, Series A to B startups with $35 million or less in funding — we’ve got an exciting opportunity that’s tailor-made for your growth journey! If you’re looking to…

Boost your startup’s growth with a ScaleUp package at TC Disrupt 2024

TikTok is pulling out all the stops to prevent its impending ban in the United States. Aside from initiating legal action against the U.S. government, that means shaping up its…

As a US ban looms, TikTok announces a $1M program for socially driven creators

Microsoft wants to put its Copilot everywhere. It’s only a matter of time before Microsoft renames its annual Build developer conference to Microsoft Copilot. Hopefully, some of those upcoming events…

Microsoft’s Power Automate no-code platform adds AI flows

Build is Microsoft’s largest developer conference and of course, it’s all about AI this year. So it’s no surprise that GitHub’s Copilot, GitHub’s “AI pair programming tool,” is taking center…

GitHub Copilot gets extensions

Microsoft wants to make its brand of generative AI more useful for teams — specifically teams across corporations and large enterprise organizations. This morning at its annual Build dev conference,…

Microsoft intros a Copilot for teams

Microsoft’s big focus at this year’s Build conference is generative AI. And to that end, the tech giant announced a series of updates to its platforms for building generative AI-powered…

Microsoft upgrades its AI app-building platforms

The U.K.’s data protection watchdog has closed an almost year-long investigation of Snap’s AI chatbot, My AI — saying it’s satisfied the social media firm has addressed concerns about risks…

UK data protection watchdog ends privacy probe of Snap’s GenAI chatbot, but warns industry

U.S. cell carrier Patriot Mobile experienced a data breach that included subscribers’ personal information, including full names, email addresses, home ZIP codes and account PINs, TechCrunch has learned. Patriot Mobile,…

Conservative cell carrier Patriot Mobile hit by data breach

It’s been three years since Spotify acquired live audio startup Betty Labs, and yet the music streaming service isn’t leveraging the technology to its fullest potential — at least not…

Spotify’s ‘Listening Party’ feature falls short of expectations

Alchemist Accelerator has a new pile of AI-forward companies demoing their wares today, if you care to watch, and the program itself is making some international moves into Tokyo and…

Alchemist’s latest batch puts AI to work as accelerator expands to Tokyo, Doha

“Late Pledge” allows campaign creators to continue collecting money even after the campaign has closed.

Kickstarter now lets you pledge after a campaign closes

Stack AI’s co-founders, Antoni Rosinol and Bernardo Aceituno, were PhD students at MIT wrapping up their degrees in 2022 just as large language models were becoming more mainstream. ChatGPT would…

Stack AI wants to make it easier to build AI-fueled workflows

Pinecone, the vector database startup founded by Edo Liberty, the former head of Amazon’s AI Labs, has long been at the forefront of helping businesses augment large language models (LLMs)…

Pinecone launches its serverless vector database out of preview

Young geothermal energy wells can be like budding prodigies, each brimming with potential to outshine their peers. But like people, most decline with age. In California, for example, the amount…

Special mud helps XGS Energy get more power out of geothermal wells

Featured Article

Sonos finally made some headphones

The market play is clear from the outset: The $449 headphones are firmly targeted at an audience that would otherwise be purchasing the Bose QC Ultra or Apple AirPods Max.

14 hours ago
Sonos finally made some headphones

Adobe says the feature is up to the task, regardless of how complex of a background the object is set against.

Adobe brings Firefly AI-powered Generative Remove to Lightroom