‹ Back to Orbis News
AI explained

Gemini Decisions API routes support tickets. Where do off-topic messages go?

Google's Gemini Decisions API can pick a queue for a support ticket. In a free-tier test, it got all 30 predefined tickets right and gave a request for a poem a Technical score of 0.84.

Orbis News3 min read
Icons for a routine support ticket and an off-topic ticket sit side by side on blocks of deep blue and warm orange.

On November 11, Google launched the Gemini Decisions API as part of the Gemini API in Google AI Studio. Developers can give the new Gemini Decision 1 model a customer message and a list of support queues, then ask it to score each option.

Editor Lesia Kapliuk made 54 requests on the free tier. For all 30 support tickets she wrote, the model picked the queue she had assigned in advance. She then asked it to write a poem about autumn. With no Other option, the model gave Technical a score of 0.84. If the app routed tickets by the highest score, the tech team would be on the hook for an unwritten poem.

How Gemini Decisions API picks a queue

According to Google's documentation, multiple-choice questions return the top choice and a probability for each option. Those probabilities add up to 1 even when none of the queues fits. When Kapliuk added Other to the same poetry request, it came out on top with a score of 0.98. For a separate scope check, she asked whether it was a customer request. The model assigned Yes a probability of just 0.01.

Question for the modelResult for the poetry request
Choose Billing, Shipping, or TechnicalTechnical 0.84
Add Other to those optionsOther 0.98
Is this a customer request?Yes 0.01

If you use the API to route support tickets, give Other a destination, such as the support agent on duty. A report that the checkout page is throwing an error could go to either Billing or Technical, so the agent on duty can decide who takes it. If your team often gets requests unrelated to the business, also ask whether the message is within the scope of customer support. Your app can use the answer to decide whether to route it.

A screenshot can help route a ticket

Developer Simon Willison tested the API with a video of a robot marching. He asked whether there was a robot and whether there was a dragon. The model gave Yes probabilities of about 92% and 5%, respectively. All he had to provide was the video and what to look for. If a ticket only says “It doesn't work,” you can send the message and a screenshot together, ask whether the image shows an error, and use the result to help pick a queue.

The model also accepts text, audio, and PDFs. Google says you can ask up to 1,000 questions about one input, mixing yes/no questions, multiple choice, and ratings on a scale. The paid tier costs $0.10 per million input tokens, and output tokens are free. Within a request, the source material counts once toward the input, and the instructions and options for each question also count. For support tickets, you can check whether a request is in scope and pick a queue in the same API call.

On day one, have the model tag tickets

In a trial, start by replaying a batch of tickets that have already been routed. Focus on the ones most likely to go wrong, such as off-topic messages and payment errors that either Billing or Technical could handle. Have the model route them again, then see how many tickets would go to the wrong queue and how many would need human review at different score thresholds. You can set thresholds by queue based on how much work it takes to get a misrouted ticket to the right person and how many tickets the agent on duty can review.

In the first week, have the model tag new tickets while support staff route them as usual. Once you've seen which tickets the model often gets wrong, turn on automatic routing for the category where mistakes are easiest to correct. Leave the ticket for the agent on duty if the scope check flags it as off topic or the model is unsure which queue should take it.

Further reading