Sort, route and score records with AI in your app

AI decisions let your app sort support tickets, flag spam and score leads on its own. They run on Jev, a decision model built into the Hercules AI Gateway of every app, which answers each question with a decision and a confidence.

A confidence is Jev's estimate of how likely an answer is to be right. Your app can act on its own when Jev is confident and send unclear cases to a person. Ask Hercules for the decision in chat.

What decisions can your app make with Jev?

Route and tag tickets, emails and form submissions

Jev picks the right team from a list you define, such as billing, technical or shipping. A choice question can also pick a category, tag or folder for each new record.

AI decisions
Requests board where each card carries an AI-assigned category, priority and technician

Moderate before anything goes live

Ask Jev whether a review or post is spam, abuse or off-topic. Your app hides it when Jev is confident and sends borderline ones to you.

AI decisions
AI triage card for an outlet that sparks: Electrical, priority 5 of 5, and the reason

Score leads and answers against a rubric

Define a scale, such as poor to strong fit, and Jev rates each new lead from its company and message. You decide what happens to the leads Jev isn't sure about.

AI decisions

Answer yes-or-no checks

Jev answers a yes-or-no question with the chance the answer is yes, from 0 to 1. For a customer charged twice, "Is the customer asking for money back?" can come back as 0.98.

AI decisions

Ask several questions in one request

One Jev request can ask several questions about the same content. For a single support message, Jev can spot a refund request, pick billing and mark it urgent.

AI decisions

How do you add a decision to your app?

  1. 1. Describe the decision

    Use Jev to sort each new support ticket into billing, technical, or shipping, and to mark it urgent if it's time-sensitive.

    Hercules adds the code that asks Jev for each decision, and it runs on your app's server.

  2. 2. Decide what goes to a person

    Send tickets Jev isn't confident about to a review queue for the support lead.

    Hercules adds the queue and the rule that fills it.

  3. 3. Add a fallback, then publish

    If a Jev request fails, tag the ticket "needs review" and add it to the support lead's queue.

    Hercules adds the fallback, and you publish the app.

What could this look like for a business?

In this hypothetical example, a wholesale food distributor with 150 staff uses Jev on their ordering portal to moderate product reviews and score reseller applications. The marketing lead clears the borderline reviews once a day. Each application gets a fit score from poor to strong, so the sales team calls the strongest first instead of reading them in arrival order.

Related features

Frequently asked questions

What should you know before you start?
  • Jev makes decisions only. For text a person reads, such as a reply or a summary, use a chat model through the AI Gateway.
  • When your Hercules Cloud balance runs out, Jev requests fail until you add credits.
  • Jev shares the AI Gateway's rate limit, the cap on requests over time, with your app's other AI requests. Contact support if your app needs more.
  • See what each plan includes on the pricing page.
How is Jev billed?

Hercules bills Jev usage through Hercules Cloud, like other AI Gateway usage, separate from the AI credits you spend building. Jev charges only for the content it reads, and its answers are free. AI decisions

Do I need an API key for Jev?

Jev needs no separate API key. Every app already has its Hercules key, and Hercules uses it only from your app's backend. AI decisions

Do I have to name Jev in my prompt?

Hercules picks Jev by default for decisions such as routing, moderation and scoring. Naming Jev in your prompt makes sure Hercules uses it. AI decisions

I already use TypeSafe. What changes?

Point your app at the Hercules AI Gateway's TypeSafe address and use your app's Hercules key. Requests and responses stay the same, and the model names jev-latest, typesafe/jev and typesafe-ai/jev all work. AI decisions

How do you get started?

Try your first decision on tickets your team has already sorted, and compare Jev's answers with theirs before you publish. Start building.