Google Files Patent for Running AI Text Analysis Inside the Database Itself
Google has filed a patent application for a cloud database that can read and organize its own text with AI, triggered by an ordinary database command. The data never has to leave home.

- Publication number
- US 2026/0377407 A1(US20260377407A1)
- USPTO patent title:
- Text Embedding Generation and Applications
- Applicant
- Google LLC
- Filed · Published
- Aug 3, 2026 · Nov 26, 2026
- Inventors
- Xi Cheng, Wen Zhang, Jiashang Liu, Mingge Deng, Amir Hormati, Omid Fatemieh
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 704/9
- Parent application
- Continuation of 18/484,661 (filed Oct 11, 2023)(18484661)
What Google's in-database text AI actually does
You're in charge of a company's customer feedback, and thousands of written comments sit in one giant database. You'd like an AI to sort them by topic or flag the unhappy ones. The usual routine means copying all that text out to a separate tool first.
Google's patent application describes a database that does the work in place. You type an ordinary database command, pick an AI model (or just say how much you're willing to spend and how good the results need to be), and the system turns each piece of text into a string of numbers that captures its meaning. Similar comments end up with similar numbers.
From there, a second command can train a prediction model on those numbers, and you get a notification when it finishes. The text never leaves the database.
… the text embedding model executes within the data warehouse without migrating the plurality of data elements out of the data warehouse …
Translation: The system runs the AI analysis directly inside the database instead of moving the data elsewhere.
How one database command picks and runs a model
The filing covers a cloud database (Google calls it a data warehouse, a giant store of company tables) that can turn text into embeddings. An embedding is a list of numbers standing in for a word or phrase, arranged so that similar meanings get similar numbers.
The user sends a SQL query (the standard command language for databases) that names the table to use and the model to run, chosen from several models built into the warehouse. One example in the claims is BERT, a well-known language model. The model runs inside the warehouse, so the data is never migrated out, and the work is spread in parallel across many machines at once. The resulting embeddings are stored back in the same warehouse.
The filing also describes some extras:
- If you don't name a model, you can set a cost limit or a quality limit, and a selector picks a model that fits.
- The system can tell free text from simple category labels by checking what share of entries are unique, since real text tends to vary more.
- A chosen model can be fine-tuned (adjusted) using a small set of the company's own data.
- A second query can train a prediction model on the stored embeddings, send a notification when training is done, and return predictions.
… receiving a machine learning model training query from the user device requesting training of a machine learning model using the text embeddings …
Translation: Users can ask the system to train new machine learning models using those generated text embeddings.
Why companies may skip the data-copying step
The practical upshot is that a company already keeping its records in a cloud database could run text analysis without exporting that data to a separate AI service. For you, that could mean fewer copies of text like emails or support requests floating around between tools.
For the company, the pitch is less setup. A team that knows database commands could try different AI models by changing one line instead of building a pipeline. The description lists recommendation systems, grouping similar text, and pulling out names among the uses, and it calls the whole thing a fully managed cloud database service. It's a patent application, so it doesn't promise a product.
Google's 74th filing we've tracked since May joins earlier applications like sorting voice from TV noise and anonymous ad install counting in our on-device AI privacy work.
Source: US 2026/0377407 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Google patent news breaks.
We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.
The drawings · 5 sheets
5 drawing sheets from US 2026/0377407 A1 · click any drawing to enlarge

No comments yet