Arda Gür
← cd ../blog
~$ cat posts/jev-inbox.mdx

Jev Inbox

Thinking of Jev as a smart if statement, and a small demo to see how its decisions work in a real application.

2 min read

Recently, I started seeing people talk about Jev.

I didn't know much about it, but it caught my attention. So I decided to spend some time looking into it and understand what it actually is.

After learning about it, I started thinking of Jev as a kind of smart if statement.

A traditional ML classifier is usually trained for a specific task. If we want to change the problem or add new classes, we may need to change the data and retrain the model.

With Jev, we can simply define the new choices and let Jev make the decision. For example:

  • Billing
  • Support
  • Bug
  • Feedback

We don't need to build a new classifier just because we added a new option.

I think this is one of the most interesting things about Jev: it can make fast decisions without needing a separate trained classifier for every new decision.

Choice, Noul and Score

Jev has three simple ways to make decisions: Choice, Noul, and Score.

Choice is used when we want to choose between different options.

What type of message is this?

Billing
Support
Bug
Feedback

Noul is used to check whether something is true or not.

Does this message need human attention?

Yes → 0.93
No  → 0.07

Score is used to give something a score within a range.

How urgent is this message?

8.7 / 10

In short:

Choice → Which one?
Noul   → Is it true?
Score  → How much?

These three simple primitives make it possible to use Jev's decisions directly inside an application.

Building Jev Inbox

I wanted to see how Jev actually works in a small application, so I built a simple demo called Jev Inbox.

I intentionally kept it small. I didn't want to turn it into a full email application. I just wanted to test the idea and see how Jev's decisions could be used in a real application.

The demo analyzes a message using all three Jev primitives:

  • Choice → message category
  • Score → message urgency
  • Noul → whether human attention is needed

The whole idea is simply:

Message
   ↓
Jev
   ↓
Decision
   ↓
Streamlit UI

Building it helped me understand the idea much better than just reading about it.

You can find the project on GitHub: devardagur/jev-inbox