This article is the written version of a talk I’m giving at six events, in Spanish. If you’re near any of them, come say hi and tell me what you’re building! All the details are on my Talks page.
Almost every app and website you use is deterministic. Something being “deterministic” is a technical way of saying that the same action, under the same conditions, always gives the same result. In a typical interface, buttons always do the same thing and menus always show the same options. So that means you, the user, have to work out which of those matches what you want to do.
Now we can make an interface guess what you mean when you type, say, or select something. We can adjust the behavior of the interface to you, instead of you adjusting to the interface. Doesn’t that sound like magic?
Let’s say you want to book a hotel, so you go to a search-like field and type “somewhere where I can hear the ocean, not drunk people outside my room, and I need to bring my dog” and the interface automatically checks the filters “Beachfront”, “Quiet location”, and “Pet-friendly”, removes party-oriented hotels, and reorganizes the search results. You, as a user, didn’t have to know the names of those filters, or even that they existed. Things just worked the way you expected.
For that, we put an AI model in the middle, which means the interface acts on the model’s interpretation of what people want. We can’t know ahead of time what people will write or what the model will do with it. Two people looking for the same hotel will describe it in different words and a small difference in those words can change the filters they get.
We keep control over the results, though. I know, that sounds like a contradiction.
You’re in a restaurant and the waiter asks you what you want. You can tell him in your own words, like “something light, without meat”. You can’t predict what he’ll suggest, or whether another waiter would suggest the same thing (even if you said exactly the same words), but he can only bring you what’s on the menu.
In your app, you’re the restaurant owner too, not just the customer, so you would be the one creating the menu. That way, the waiter can only pick one of the options you designed. You don’t control which one he picks, but you control everything that can happen.
Makes sense? Hope that made it easier to understand.
The waiter can still misunderstand you, just like the AI in your app. So just adding an AI isn’t enough though, you’ll also need to check what to do for when it’s wrong.
You know Gemini or ChatGPT, where you write something and it writes a new answer every time? Well, that’s generative AI.
A decision model is different. It’s like the waiter in the restaurant analogy. It only picks one of the options we gave it.
Asking a friend what to eat would be like generative AI, because they can suggest absolutely anything. The options are endless, and some might not even be realistic. The waiter, on the other hand, can only pick from the menu, which is a limited set of options.
To have this behavior in your app, you can use a decision model.
The easiest example is a sentiment classifier (basically a program that reads a message and tells you how the person feels). Say you have a store that gets hundreds of messages a week, and you want to answer the unhappy customers fast before they leave. The classifier finds them for you, so you don’t have to read every message. Try it on the scenarios below:
A person can read what the generative AI wrote, but your app can’t tell what to do with it. With a decision model, your app gets one of your predefined options, so you can decide what happens when each one is picked.
Well, technically, you can tell a generative model to pick one of your options. You can tell a chatbot to answer with one word from your list, and have the page ignore anything else. That limits what can happen, but the pick can still be wrong.
It’s also usually slow and expensive when compared to a decision model.
For example, Claude Haiku 5.5 (at its lowest setting, which is also the cheapest and fastest) takes almost five times as long as a popular decision model called Jev (we’ll talk about it below), and costs almost three times as much.
You give the AI your question and the options.
You ask the question by passing what the user wrote, just as they wrote it.
The model picks an option for each question and gives you a probability for every option (how sure it is of each one).
Your code shows what you designed for that option.
So far, I haven’t told you where the model runs. The popular AI models run on a company’s servers (what people call the cloud).
When you use ChatGPT or a site that uses a decision model like Jev, your data go to those servers.
That isn’t necessarily bad. I mean, using a model like Gemini in the cloud is safe. Google is one of the gold standards in data security worldwide. Also, using one of their big supercomputers means the performance doesn’t depend on each user’s computer.
But it still means that when you use a model that runs on the cloud like Claude, you may have to obviously pay each time a page uses it (which can be a bit tricky if you’re short of budget), that it doesn’t work without an internet connection, and that what you write has to leave your computer.
But now there’s also an alternative. You can actually run a decision model on your own computer, inside Chrome. For free and privately.
To do that, you need to use what the Chrome team calls the Decisions API, a set of tools that lets a site use Chrome’s own model to make decisions.
Let’s go back to the help desk example from before. Each call (each time a page uses the model) is 100% free, which means the store can run the classifier on every message it gets, no matter how many. Those messages also don’t have to go anywhere else, because the model runs on the same computer as the page.
Of course, the model has to be on that computer first, so users have to download it. The good news is that every site that uses the API shares the same copy. This might sound expected, but before Chrome’s Decisions API, if you wanted a decision model on people’s computers, they had to download one for each site that used it.
Once it’s downloaded, everything happens on that computer, even if it has no internet. That’s also why the store doesn’t need a server to run the model.
All of that means you can do cool stuff you wouldn’t normally do because of costs, like reacting to what people write while they’re still writing it.
That said, Chrome’s Decisions API is still an experiment. Google wrote a public document about how it would work, called an “explainer”, where they say it’s an early design sketch that hasn’t been approved to ship. That’s why, to use it, you have to turn on a hidden setting in Chrome, called a flag.
A second, much smaller model (enabled by default). The first model, Gemma 4, is still available behind a property to add in the calls.
Sites could turn it on for their visitors, with no flag. This is what's called an "origin trial".
No flag and nothing to turn on, in every Chrome that can run the model.
So can you use Chrome’s API on a real site? Not yet, but hopefully soon.
Remember this is experimental, so the API is behind a flag in Chrome.
I mean, if you turn on the flag, you can play with it on your computer. People who visit your site won’t have it on, though, which means the API won’t be there for them.
I don’t know if or when that’s going to change. Google hasn’t announced a trial with real users, or any plan to turn it on for everyone or to bring it to phones. The companies behind Firefox and Safari haven’t said what they think of it either. And if nobody extends the flag, Chrome’s source code says it goes away in Chrome 161, due on January 19, 2027. The API would then go back to off.
You can follow the API’s status on ChromeStatus. I’ll keep an eye on it too and update the article.
Also, the model you and your users get depends on the version of Chrome.
This matters because results with each one are very different. On my own test phrases, EmbeddingGemma is 26 to 59 times faster than Gemma 4, but Gemma 4 picks the right option almost twice as often. We’ll talk about those results below.
I wouldn’t get too attached to any of the models offered inside Chrome, though. In Chrome’s source code, the property you use to choose Gemma 4 is marked as temporary. It’s only there so developers can compare the models while the API is behind a flag. If this feature reaches the public, that property goes away. Google’s explainer describes small models that take under a second on easy and medium questions, plus larger models for harder ones, but Google hasn’t said which model the final version will use.
So why am I showing you this? Multiple reasons. First of all, I think it’s extremely cool, and I think a lot of interfaces are going to work like this soon, so it’s good that you prepare for it. But more importantly, I want you to start thinking about how you can use this new technology to create things that were simply not viable before. I want you to get inspired, to let your imagination run free, and to come up with something incredible. I want you to be at the frontier.
Think about the hotel search from the beginning of this article. A page could do all of that while you’re still typing, on your own computer, without paying for a single call. Google’s explainer says small models like these can make a decision in tens or hundreds of milliseconds on the processors people already have. One of its goals is to do it on everyday hardware without draining the battery.
You can already see it working in this article. Once you turn on the flag and download the model, every example below runs on your own computer.
And you don’t have to wait for the API to use this on a real site. Below, I show you easy and straightforward ways to do it today.
I recommend using Chrome’s API as the first option, and if it isn’t available, falling back to a cloud service like Gemini. That way your site works for everyone right now, and it’s ready if Chrome turns the API on.
If you already use Chrome’s other built-in AI APIs, like the Prompt API, keep in mind that the flag also switches them to Gemma 4 on CPU.
In Chrome, once the flag is on, click Download in the panel below. It’s a 3.3 GB download, but Chrome needs about 20 GB free on your disk before it starts.
As I mentioned, if you want this on a real site right now, you’ll need something besides Chrome.
If you don’t write code, send this to your developer and skip to the next subchapter. Remember, I want you to get inspired, not to get stuck in the details. I want you to think how your app can use this to improve the experience for your users, besides the technicalities.
Ok, so we have been talking about how Chrome’s Decisions API runs on a local computer but doesn’t work for everyone yet. Chrome offers their own solution for this: a polyfill that downloads a decision model called Laya, of 0.6 to 0.8 GB, from Hugging Face. But I’m not a fan of this workaround. As I mentioned before, this would mean the user has to download a copy of the model per site. And also, in a browser without WebGPU the polyfill takes several seconds per decision.
I mean, if you’re going to use this approach, you might as well rely on Google’s MediaPipe library, which also has a Decision Maker. It would also require users to download the model per site because it also runs on the visitor’s computer, but that model is a lot smaller, about 165 MB. It uses WebAssembly and WebGPU and a model called EmbeddingGemma 2. It also lets you run the Decision Maker for Android and iOS apps, where the model runs on the phone.
However, and this is a personal opinion, if Chrome’s Decisions API is not available, I’d fall back to a cloud service like Gemini, Jev or OpenAI.
Google also has a decision model in the cloud called Gemini Decision 1. They released it on November 11, 2026.
You use it through the Gemini Decisions API. Don’t mix it up with the one in Chrome, though. They’re both called “Decisions API”, but this one runs on Google’s servers. It gives you a probability for every option. It also has a free tier, with 10,000 calls per day. If you’re using this as a fallback, it might be enough for your site.
Google’s servers also run gemma-4-31b-it, a much bigger Gemma 4 than the one in Chrome, only for free (14,400 calls per day). Even though Gemma 4 isn’t a decision model, you can make it return the option it picked as JSON, but without probabilities.
Just keep in mind that Google uses what you send through either free tier to improve its products, so its terms ask you not to send anything sensitive or personal through them. Also, sites with users in the European Economic Area, Switzerland or the UK can only use the paid tier.
OpenAI offers its own solution too. It’s also called “Decisions API”, which is a bit confusing because Google uses the same name for its own APIs, but OpenAI’s is not related to them. OpenAI’s solution uses gpt-6-luna to make the decisions.
Anthropic’s models can also return JSON. For this article, I used claude-haiku-5-5 at low effort because I think using one of the stronger models is overkill for most decision tasks, and it costs way more and takes longer.
And then there is also Jev, owned by a company called TypeSafe.
Disclaimer: There are a lot of other options nowadays (I mention them in The Brief articles), but I couldn’t compare them all here, so I picked the ones I think are the most relevant for this article.
I ran three rounds of five tests on eight models, with 270,096 questions in total. I use the results from the last round because the first two were for debugging and tuning the tests. If you’re a researcher, there is a section for you below where you can download the 90,032 answers and the score rows.
Three of the evaluations are public tests from the Decision Index, created by Artificial Analysis (a company that benchmarks AI models). I ran them following their method. The other two are also tests they run, but I had to create my own versions of them because they keep the questions private.
Besides the results, the model you use depends on what you want to do. In a lot of cases, the model built into Chrome is enough, and it’s free.
Let’s start with workplace documents. TypeSafe made this test from O*NET, a list of jobs from the US government. Each task is a made-up document from one of those jobs (like a performance review or a kitchen order) plus a question about it. Something important here is that some of the documents are longer than EmbeddingGemma can take, so that model rejected a quarter of them.
The next test is harder to guess. The model gets a request to an assistant that can use tools, like a weather service, plus four possible replies. It has to pick the right one, which can be calling a tool, asking for what’s missing or saying it can’t help.
Then I tested what each model knows. Each question is about a fact, with four answers and one more to decline, like “I don’t know”. Declining counts as wrong. Most of the language models declined about half of them.
I also checked whether each model keeps the same answer when the same question comes in different ways. The options come in another order or with their letters swapped, or the question is turned around, like asking if a message is harmless instead of harmful.
A model passes a question when it gives the same answer every time and no probability moves more than 5 points. MediaPipe never changed its answer when the options moved. But on 39 of the 40 questions that were turned around, it gave the same answer when I asked if a message was harmful and when I asked if it was harmless. It still tops this test because 80 of the 120 questions only move the options.
And the last test is all expert questions, from Humanity’s Last Exam. Experts wrote that exam to be very hard for AI, with questions no interface would ever ask. Like in the knowledge test, each question also has an option to decline.
This test is brutal for all models. Even the best score stays close to a random pick.
The final runs were on November 7 and 8, 2026, with 11,254 tasks per model. I ran Gemini Decision 1 the day Google released it (November 11, 2026). Chrome and MediaPipe ran on a MacBook Pro with a 14-core Apple M4 Pro and 24 GB of RAM. The cloud times include the round trip. I used the wording from Artificial Analysis’s examples when it shows one. Its method doesn’t publish the prompts for the language models, so I wrote those myself. To compare them fairly, I turned thinking off or set it to the lowest level each API allows.
Gemma 4 31B and Claude Haiku 5.5 had to give a probability for every option, through structured output. If the probabilities didn’t add up to 1, I rescaled them, and if an answer didn’t follow the format, I asked once more.
To count the results, I did the same as the index:
The score in “Models I tested” is the average of the five tests, with the index’s weights (15% for each test and 10% for tools), scaled up to 100% because I couldn’t run the sixth one. On the knowledge and expert tests, 10 of those 15 points go to accuracy and 5 to the non-hallucination rate, the same way Artificial Analysis averages accuracy. That’s not the Decision Index score, though. The index also measures how sure each answer was, and the test I couldn’t run counts for 30% of it. If you want to compare my numbers with theirs, the file below also has each test’s Decision Score and the index’s formula on the tests I ran.
Time is the median of each test, and cost is what my runs cost, scaled up to a million calls, both averaged with the same weights.
To know how much of each number is luck, I redrew each test’s questions 10,000 times (a paired bootstrap, by question type on the workplace test) and checked how much the scores moved. That’s where the 95% ranges in the file come from. The summary scores move about 2 points either way. That’s why Jev 1.14 and Gemini Decision 1 are basically tied, same as Gemma 4 31B and GPT-6 Luna, and Claude Haiku 5.5 and Gemma 4 on CPU. A single test moves more or less depending on how many questions it has, from about 1 point on workplace documents to about 9 on symmetry.
You can download every score with its 95% range, and every model’s answer to every question. The files don’t include the questions themselves, since some of the tests don’t allow sharing them.
Barrientos, A. (2026, November 9). Building Interfaces That Understand What We Want to Do. https://agustinbarrientos.com/writing/senior-eye/interfaces-that-understand-what-we-want
Regarding the first one, if you can write a plain if for your question and get the behavior you want, 100% do it.
Sometimes a plain if is not enough though. For example, how would you differentiate between “I’m going to fire the team” and “I’m going to fire up the team”?
Decision models are for answers that depend on what people mean, such as whether a customer is happy with what they bought.
Then, for the second one, I think a generative model is overkill for most decision tasks.
The best generative models do a lot better on hard questions. On the expert questions (the hardest test), none of the models I tested got more than 16.2%, close to the 14% a random pick gets. On Artificial Analysis’s leaderboard, models write their own answers to the exam’s 2,158 text-only questions with their highest effort and get much better results. Gemini 4 Argon gets 57.1%, Claude Fable 5.1 59.1% and Claude Opus 5.5 61.4%.
But Artificial Analysis estimates they take about 4 to 6 minutes per question, and each answer costs $0.35 to $1.59, vs 0.05 to 2.6 seconds and under $0.0005 for the models I tested. There is just no comparison.
That’s what I mean by generative AI being overkill in some cases. It all depends on what you want to do.
In most decision models, including Chrome’s Decisions API, there are three types of questions: boolean, choice and score.
A boolean question is a yes or no question. Just true and false, each with a probability.
A choice question comes with your own list of options. That’s what I have been showing in all the examples above. Each option has a label and can have a short description of what it’s for.
In Chrome, a score question gives you a number from 1 to 5 by default. I’d use one to sort those messages by how upset people are.
Other providers use different names for the same three types:
If you don’t write code, there’s nothing else for you until the next chapter.
In Chrome, you use the Decisions API through a JS class called DecisionModel.
You start with a schema (an object that contains your questions, the options for each one and a sentence about the situation in context). Then you check whether Chrome can run it with DecisionModel.availability(). If it can, you create a session with DecisionModel.create(), and then invoke the decide() method with what the person wrote.
You get back the name of the option the model picked for each question, called its “label”, plus a probability for every option in probabilities.
The other providers do the same thing in their own way:
Your code then does whatever you designed for that label, like showing a line of dialogue or a warning.
The tabs below have the shortest code I can write for each provider: a yes or no question about a message from a customer.
By the way, Chrome only offers the API on secure pages, like localhost or HTTPS.
The thing is, nobody really cares about learning your interface. They just want to get their work done fast.
Nielsen Norman Group (NN/G) studies how people use interfaces. The second rule of their usability heuristics says an interface should “speak the users’ language”. They mean that you should use, for example, “My purchases” instead of something like “Transaction history”.
I think a decision model takes that one step further, because people don’t have to learn the labels at all. They type, talk or select text the way they normally would.
NN/G calls the mental and physical effort people spend to reach a goal the interaction cost. This goes from reading menus and looking for the right option to typing, waiting and fixing mistakes. And after all that effort, a lot of people still don’t get what they came for. Gartner’s December 2023 survey of 5,728 customers found that only 14% of their customer service problems were fully solved in self-service, without talking to anyone. The most common reason self-service failed, in 43% of the cases, was that they couldn’t find anything relevant to their problem.
A decision model can save people from looking through menus because they can just describe what they want in their own words. You could still have kind of obscure labels like “Transaction history” for your own organization without making people learn them, because they could just write “what did I buy last month” and get there.
And since the model only picks, every answer they see is curated. I mean, it was manually written, reviewed and translated before launch. That also means you can test each case before people see it.
When a model returns probabilities, you have to define how sure is sure enough for your interface. That “sure enough” is the threshold you set for the model to pick an option.
To pick a good threshold, run the model on messages where you already know the right answer, like old support tickets. Look at how sure it was when it got them wrong, and set the threshold above most of those. This also depends on the risk of answering wrong. I mean, thanking an angry customer is worse than asking one more question, so that threshold should be higher than one that only sorts tickets in a queue.
Given that I think you’ll learn more by seeing and trying than by reading, I made three very different examples you can try on this page to show you how this can improve the user experience, from a minigame where you have to convince a guard to let you see the king to a task tracker.
If you turned on Chrome’s model above, the demos below run on your computer. If you haven’t, please select either Gemini or Jev from the dropdown to give it a try. Both Gemini and Jev run in the cloud.
In each one, you’ll see which provider answered, plus a Model menu to switch between some models.
In a lot of games, you talk to an NPC (a non-player character, controlled by the game) by picking one of a few lines the game gives you, and you can’t say anything else.
I made a minigame where you talk to the guard in your own words, out loud or by typing.
Your goal is to convince him to let you in to see the king. Try telling him you have a gift for the king or try offering him a bribe.
To talk to him out loud in Chrome on a computer, install speech recognition with the button in the game. You can also write your answers if you prefer, but it’s more fun to talk to him!
I wrote seven possible reactions for the guard. The guard can welcome you, let you in with a warning, turn you away politely, send you away angrily, ask who sent you, call the other guards, or attack you with his spear.
Those seven reactions are the “menu” from the restaurant analogy. The AI can only choose one of those seven reactions. It can’t make up its own.
I couldn’t do this with an if or a list of keywords. That would’ve been crazy! Players say more things than I could ever write down. And some phrases would be too tricky to distinguish using a list of keywords. For example, a gift for the king (“I have a gift for your grace”) and a bribe for the guard (“I have a gift for your silence”) share a lot of words.
In this game, there are other variables that should also change the behavior of the guard, like whether he knows you and your reputation. It’s not the same if he knows you as a renowned knight or as a notorious thief, or if he doesn’t know you at all.
For that reason, the gate doesn’t depend on the model alone.
I give the model two questions about what you say, one for how the guard should react and one for whether you answered his question.
I turn both answers into the guard’s move with a few rules in code, applied in this order:
To make it work faster, I also try to catch mumbling (“Um… uh”) and small talk (“Hello, how are you?”) before sending it to a model. The guard answers mumbling with “What was that!? Speak plainly.” and small talk with “That’s not an answer.”
It reads only your words, and on turn 2 the question the guard asked.
How should the guard react?Let in warmly, let in sternly, ask for proof, turn away politely, turn away angrily, call the guards or attack. On turn 2, I remove the option "ask for proof" to avoid a loop.
Did you answer his question?Turn 1: gave a reason, small talk, hostile, unclear.Turn 2: gave proof, wouldn't say, hostile, unclear.
You set who you are in the sidebar, the guard greets you, and you say something. Code first checks for only um, uh or random keys, which gets "What was that!? Speak plainly.", and for only greetings or small talk, which gets "That's not an answer." and his question again. The third non-answer on a turn turns you away politely. Then the decision model reads only your words, never the sidebar, and gives a percentage for every option of two questions: how the guard should react, and whether you answered him. Code then checks, in order. A hostile pick at 35% or more turns you away angrily, calls the guards or attacks. If the model says your words are hostile, he turns you away angrily. On turn 1, if the model is under 53% sure you answered, it counts as a non-answer. A pick under 35% gets "Speak plainly." If he knows you and your reputation is under 25, he turns you away politely, unless the model asks for proof, which starts turn 2. On turn 2, if the model is under 70% sure you named a sender or showed proof, he does what the model picked. If the sidebar says the guard doesn't know you, he asks "Who sent you?" on the first turn, and lets you in sternly on turn 2. Anyone else gets in, the way the model picked if it picked a welcome, or sternly.
The tabs below show the first turn on all six providers.
So how good is the guard? I wrote 140 sentences to test him, full of lies, bribes, threats, gibberish and harmless lines that sound bad. On 116 of them the guard has to pick a reaction, and I counted how often the model’s own pick was the right move. The other 24 are mumbling and small talk that the code answers, or lines where the right move is to ask again, which only the rules can do. Then I counted how often the guard did the right thing on all 140, with the rules.
The question about whether you answered took a few tries to get right.
As a yes or no question, “Did the visitor answer?”, Gemma 4 said no to most real answers. So I made it a choice between four options, like detecting whether the user was saying why they came or whether they were just making small talk. That worked a lot better.
Even the order of the options changed what Gemma 4 picked. With every list reversed, four hostile visitors got in, including one offering a bribe. In the normal order, none of them did. Each case is different, so test yours.
Who hasn’t sent a sensitive message to a public channel when it was meant to be private? :)
You could use a decision model to read the message and warn the sender if it might be sensitive, before it goes to a channel with many people.
The chat app below warns you in two steps. While you type with Chrome’s model, a hint under the box shows “This might not be meant for #{channel}. {amount} people will see it.” If you press Send anyway, you get a dialog with “Send this to #{channel}?” and the buttons Edit message and Send anyway.
I didn’t want it to block the message because the model can be wrong (that’s why it’s just a warning). Nielsen Norman Group warns that people learn to click through confirmation dialogs without reading them if they see too many. That’s why the dialog only comes up on Send.
A simple list of words and a .includes or regular expression are tempting here, but it’s just not scalable and still doesn’t understand meaning. For example, it makes sense to add words like “fire” and “kill” to the list, but then it would mean that messages like “Who wants to fire up the grill for Friday’s team lunch?” or “We absolutely killed it at the launch!” would get flagged.
So as you can see, this is another example of where a decision model shines, an if doesn’t cut it and a generative model is overkill.
The decision model answers the boolean question using the message, the channel you want to send it to, how many people will see it and, for a direct message, who gets it.
On my MacBook Pro, Chrome checks everything in about 0.8 seconds, all running locally. That’s extremely important here. After all, even if you trust the company, every draft would leave your computer. Those messages can contain passwords, credit cards, health information, or other sensitive data that you don’t want to send to a server.
But, oh well, if you don’t care about it, you can still use a cloud model, but I’d use it only after pressing Send, and not on every keystroke.
Write “I’m interviewing at another company on Friday, please don’t tell anyone.” in #general, press Send, and then do the same in Clara’s chat.
I show the warning at 98% on Gemma 4 and 70% on Gemini Decision 1.
As I mentioned before, the threshold is something you get per model based on tests you run yourself using good quality data. I ran some messages through Gemma 4 and Gemini Decision 1, and counted how many of them were sensitive or harmless.
Most sensitive messages in Gemma 4 got more than 99%.
Gemma 4 warned so easily that, even though I was saying who the recipient was, direct messages like “I think I’ll fire Bruno” were still triggering the warning even when I was sending it to people other than Bruno. Gemma 4 gives it 99.9% there, close to its score in #general. I tried five wordings that tell the model who will read the message, but none of them fixed it without breaking other cases. In English, it never dropped under 99.5% with any of them.
So, after more tests, I noticed that on Gemma 4 what matters is the topic rather than who gets it. “I hate Bruno” in Bruno’s chat only got 97.7%, so I changed the code to check whether the message names the person who gets it, and I show the warning at 70%.
Gemini Decision 1 is different. After I added the recipient to the input, its score for “fire Bruno” sent to Bruno himself rose from 60% to 99%. The model still gives that message 82% in Clara’s chat, over its 70%. “I hate Bruno” gets 71% in Bruno’s chat and 32% in Clara’s, though. If you switch the Model menu to Gemini, that warning only shows up in Bruno’s chat.
In fact, if you’re curious about the behind-the-scenes, Google has been detecting phone numbers and addresses in text on Android devices since 2017 thanks to a small AI model.
Our task tracker below always shows Quote and has room for one more action that the model picks: Create task, Save in calendar or Set reminder. A comment like “Let’s meet Thursday at 3 PM.” gets Save in calendar, while “Thanks, looks good!” keeps Quote alone.
Suggestions have to be fast, too. Nielsen Norman Group’s response-time limits say people feel a response is instant under 0.1 seconds and keep their flow of thought up to about 1 second. The bar shows Quote right away and adds the model’s pick about 0.9 seconds later on Gemma 4, 0.5 on Gemini Decision 1 and 0.03 on EmbeddingGemma.
Select “Fix the login bug today, and let’s meet Friday at 10 to plan the launch.” in the task tracker below, then try a few others.
In all three demos, I set each threshold based on what being wrong costs. For example, in this demo, a missed suggestion costs nothing because Quote is still there. Worst-case scenario, we suggest something incorrect and the user has to do one extra click. That’s why 50% is enough for a suggestion.
But the chat app’s warning on Chrome started at 70%, and after testing it I moved it to 98.5% because it showed up on too many harmless messages, and then to 98% after a sensitive Spanish message got 98.4%.
Comments that ask for two different things are still a problem. For example, no single action covers “Fix the login bug today, and let’s meet Friday at 10 to plan the launch.” Even though there is no single right answer there, Gemma 4 suggests Save in calendar anyway (87% in English and 82% in Spanish), while Gemini Decision 1 just shows Quote because it prefers to be cautious and pick “No action” (86% in English and 84% in Spanish).
This is the code used for the implementation:




