JEV Explained (Real Use Cases) — Transcript
Full transcript
- 0:00Today we're talking about Jev, and how
- 0:01you can use this as a developer. So, Jev
- 0:03is a new model from Type-A AI that is
- 0:05getting a lot of hype online. Jev is not
- 0:07a large language model. This is a
- 0:08completely different type of model.
- 0:10What's interesting [music] about it is
- 0:12it's much faster and much cheaper than a
- 0:13traditional large language model for
- 0:15very specific use cases. So, in this
- 0:17video, I'm going to walk you through
- 0:18some practical [music] real examples of
- 0:20how you can build software, AI systems,
- 0:22and automations using this new model.
- 0:25I'll link all of the resources, the
- 0:26code, [music] and the sample
- 0:27applications in the description below.
- 0:29So, let's get into it. So, this is the
- 0:31model we're going to be talking about
- 0:32from Type-A AI. They call it a system
- 0:34one model. If you're familiar with the
- 0:35book Thinking Fast and Slow, the idea is
- 0:37we have two types of thinking, fast
- 0:39thinking where we make instinctive
- 0:41decisions, and much slower and more
- 0:43deliberate thinking. So, Jev is all
- 0:44about making fast decisions,
- 0:46essentially.
- 0:48So, you can see here that you have an
- 0:50input, which is a question. You pass in
- 0:52a request to the model, and what's
- 0:54different about Jev in particular is you
- 0:56get back a typed answer. So, a specific
- 0:59schema or structure comes out that you
- 1:01can depend on. And the schema can have
- 1:04probabilities and confidence scores,
- 1:06essentially, that allows you to then
- 1:08make a decision. So, this is going to be
- 1:09useful in specific use cases. This is
- 1:12not a general-purpose AI model. I would
- 1:13use this for two specific use cases. So,
- 1:16the first use case I would use this for
- 1:17would be routing, and the other one
- 1:19would be classification. So, these are
- 1:21really common in AI systems, and I think
- 1:23this is where I would use Jev myself.
- 1:26So, the model has three different
- 1:27primitives, and we're going to take a
- 1:28look at each of these now in Python. So,
- 1:30you have a choice, a score, and a null.
- 1:33And we'll break down when to use these
- 1:35and what they are. All right, so the
- 1:36first thing we're going to need to do is
- 1:38get an API key. So, in order to use
- 1:39this, you need to get an API key. There
- 1:41are two ways to use this. The first way
- 1:42is to get an API key from the
- 1:45playground. So, if you go over here to
- 1:46the console,
- 1:48you can see here, click down here, and
- 1:49you can get an API key. I've already
- 1:51created some. The other way you could
- 1:53use this is with Open Router. If you're
- 1:55not familiar with Open Router, it's a
- 1:57way of using different models through a
- 1:59standard API. So, this can be very
- 2:00useful, especially if you're trying out
- 2:02the model. You can get this from
- 2:04OpenRouter. So, either option will work,
- 2:06but you're going to need an API key
- 2:07either way.
- 2:08Okay, so we're going to start by looking
- 2:09at some code examples cuz I think this
- 2:11is what probably the easiest way to
- 2:13understand this new model. So, the first
- 2:15type we're going to look at is this yes
- 2:17or no type, which is called a null.
- 2:19Essentially, you need to import the Type
- 2:21Chat SDK. You also need to make sure
- 2:23your API is configured for this to work.
- 2:25But once you got this set up, you can
- 2:27use the client like this. It's pretty
- 2:28straightforward to use this client. You
- 2:31instantiate it, and then you have
- 2:32client.system.one. We pass in the state,
- 2:35and then we can define this null type.
- 2:37So, in this example, what we're doing is
- 2:39basically we're passing in a like a fake
- 2:41customer support ticket. Does the
- 2:43customer request contain personally
- 2:45identifiable information? And then we're
- 2:47going to return a score. So, let's go
- 2:49ahead and run this example and see what
- 2:51comes back. [music] So, we can type in
- 2:52response.nulls
- 2:54to get back the and what you can see
- 2:56here is the contains PII field, and then
- 2:59the result is 0.95 is the score.
- 3:02>> [music]
- 3:02>> So, this gives you back a number between
- 3:050 and 1. So, 0.5, anything above that is
- 3:08going to be yes, and then anything below
- 3:10that is essentially going to be no.
- 3:12So, the score here is pretty high, so we
- 3:13have pretty high confidence that this
- 3:15does contain personally identifiable
- 3:17information, which makes sense cuz I put
- 3:19my email address in that, so that's
- 3:20correct. And then if I was to remove
- 3:22that, and then if we run this again, you
- 3:24should see that
- 3:26we get back a negative answer because it
- 3:28doesn't contain identifiable
- 3:30information, so we have a much lower
- 3:31score.
- 3:32And if you want to use this as a boolean
- 3:34in your applications, what you can do is
- 3:35assign
- 3:36>> [music]
- 3:37>> this value, and then anything greater
- 3:38than a 0.5, you can mark that as a
- 3:41positive that it contains PII. So, you
- 3:44can see here the documentation for this
- 3:45type. So, use this whenever you need a
- 3:47yes or no answer. For example, does this
- 3:49resume mention distributed systems, or
- 3:52does this comment contain personal data?
- 3:54So, those are the kind of use cases you
- 3:56would use this type for. So, if you need
- 3:57a very fast classification for something
- 3:59like this, this data type would be the
- 4:01one you'd want to use. So, the next type
- 4:03we're going to take a look at is the
- 4:04choice. This is going to be really
- 4:06useful if you're doing a classification,
- 4:08which is a very, very common operation
- 4:09if you're building an AI system.
- 4:11Essentially, what you need to do is take
- 4:13an input and then put it into one of a
- 4:15number of categories. So, in this
- 4:17example, we have a customer support
- 4:18ticket and we're trying to classify it
- 4:20as
- 4:21billing, technical, product, or other.
- 4:23So, essentially, we're trying to find
- 4:24the right support department to route
- 4:26this customer support ticket to. And you
- 4:28can see here we have a choice. We have
- 4:30instructions and then we have a
- 4:32description of the criteria. So, we have
- 4:33the billing
- 4:35category and then we have the main
- 4:36request contains concerns a refund,
- 4:38payment, invoice, or subscription
- 4:39charge. So, essentially, what we're
- 4:41doing is just defining the category and
- 4:43then giving a description of what the
- 4:44category is. And then the AI model is
- 4:46going to use that to make a decision for
- 4:49this given input, which of these
- 4:50categories does it fall into? So, for
- 4:52the this example, we've got I need to
- 4:54get an invoice for my purchases. So, if
- 4:56we run this example,
- 4:58we should in theory see that this is a
- 5:00billing question. So, you can see here
- 5:02it's classified as billing with a
- 5:04probability of 1.0. So, a very high
- 5:06probability, very high confidence that
- 5:08this is definitely a billing question.
- 5:11And then if we were to change this
- 5:13question, then obviously we'd get a
- 5:14different answer. So, I need to reset
- 5:19reset my password as an example. And
- 5:21then if we go and run this example one
- 5:23more time, you can see here now it's
- 5:25classified it as technical.
- 5:27So, this is a really common use case as
- 5:29I said. If you're building an AI system,
- 5:30this pattern comes up all of the time.
- 5:32It's one of the patterns I use most
- 5:34often in classifying an input, deciding
- 5:36where to send it. You could imagine a
- 5:38rag system or retrieval augmented
- 5:40generation system where you need to
- 5:41choose which database to look in for a
- 5:44particular bit of information. This is
- 5:46one way you could do that. You could
- 5:48classify the question and figure out
- 5:50where you need to get the information
- 5:51from essentially. So, this is going to
- 5:52be a really useful pattern. It's very
- 5:55very fast. It's very very cheap. And if
- 5:56you're doing this kind of thing, this
- 5:58model is going to be really useful for
- 5:59that. So, you can see here that a choice
- 6:01is a question for to select one option
- 6:03from a defined set. The answer includes
- 6:05the selected option and a probability
- 6:06for each option and a confidence score.
- 6:09So, you can see here some more examples.
- 6:10What programming language is this code
- 6:12written in? And you give it a bunch of
- 6:13options. So, this kind of thing, this is
- 6:15going to be one of the more common use
- 6:17cases for Jiva, I would say. So, the
- 6:18next type we're going to take a look at
- 6:19is a score. You can use this when you
- 6:21need to have something that's on a
- 6:22spectrum. So, for example, how severe is
- 6:25this bug? Or how happy is a customer? Or
- 6:27how much Python experience does a
- 6:28candidate have? That's when you would
- 6:30use this.
- 6:31And so, we've got an example here where
- 6:33we say, "The PDF export fails. I can
- 6:35finish today's report using CSV
- 6:37instead." So, we're trying to figure out
- 6:39from this customer support question how
- 6:42stuck the this customer is and how
- 6:44urgent this request is.
- 6:46So, we have three levels of
- 6:46classification here. We have category
- 6:48one where they can complete their work
- 6:50without a workaround.
- 6:52Category two is where they can complete
- 6:54their work using a workaround. Or then
- 6:55category three, they have no way to
- 6:58solve this problem. And you can see here
- 7:00now we've been moved into this one of
- 7:01two categories. So, we have these
- 7:03different levels. So, level zero and
- 7:06level one. So, we've been put into this
- 7:07level. So, the customer can complete
- 7:09their work using a workaround, which is
- 7:11the correct answer for this use case.
- 7:14So, you can use this model with a coding
- 7:16agent if you want to. So, you can
- 7:17install this with Claude Code or Codex
- 7:19if you want to. There are probably some
- 7:21reasons why you might want to do that.
- 7:22If you're doing things like local email
- 7:24classification, things like that, you
- 7:26can use that. If you want to do model
- 7:28routing is another good use case here.
- 7:30You can do that. And it's pretty easy to
- 7:32get this installed. You have an agent
- 7:34skill which allows you to install this.
- 7:36And if you're using Claude Code, you can
- 7:37just run this plugin. So, what we're
- 7:39going to do is start up Claude Code and
- 7:41then go and install the plugin and then
- 7:43what we could do is something like
- 7:44asking Jev to classify my email. So I
- 7:47think Claude has access to my emails.
- 7:49So what we could do is something like
- 7:51use Jev to pull the latest
- 7:55five emails from my inbox
- 7:58and then classify them into
- 8:01sponsorships,
- 8:04business, or other.
- 8:06Just choosing categories somewhat at
- 8:08random. So we're going to pull the
- 8:09latest five emails from my inbox. You
- 8:10can see here we're now loading the Type
- 8:12Safe AI skill. So the way I would
- 8:14probably do this is to write a Python
- 8:16script or something and then use Claude
- 8:18code to dispatch to that code. So
- 8:20another example of how you might use
- 8:21this would be to build something like a
- 8:23customer support ticketing application.
- 8:25So again, these kind of applications are
- 8:27quite common in the business world if
- 8:28you're building any kind of software
- 8:30with AI. This is a common use case. So
- 8:32we're going to create a new support
- 8:33ticket and then we're going to choose
- 8:35one of these categories. So these are
- 8:36like some sample requests and tickets we
- 8:38might get. So let's take a look at this
- 8:40one. There's a production outage. So our
- 8:42product is down for every customer. Our
- 8:44product API is returning 500 errors. So
- 8:47we're going to use Jev to classify the
- 8:49ticket when we create it.
- 8:51And then we've automatically now
- 8:52classified this customer support ticket
- 8:54into critical and engineering. So we've
- 8:57given it both a department
- 8:58classification and also a priority as
- 9:01well. So this would be really useful if
- 9:03you were building this kind of
- 9:04customer-facing triaging application.
- 9:07You could imagine triaging things like
- 9:09GitHub issues or support tickets, things
- 9:11like that. This is a really great use
- 9:12case. You can see the probability
- 9:14distribution here. So this is a pretty
- 9:16straightforward use case. So 100%
- 9:18certain it's engineering and 100%
- 9:20certain that it's critical, which is
- 9:22actually kind of correct.
- 9:24And you can kind of go through more
- 9:25examples here.
- 9:26But this works really well. It's pretty
- 9:28fast. For these kind of really basic
- 9:30classifications, this is going to be
- 9:31much, much faster than using a
- 9:33traditional LLM.
- 9:34Okay, so for this next example, what
- 9:36we're going to do is use a skill to do
- 9:38model routing. So if you want to save
- 9:39money with AI, you want to spend less on
- 9:41tokens, you're using up your limits a
- 9:42lot, you can use an intelligent router
- 9:44to choose which model to use for a
- 9:46particular task. So what we can do is we
- 9:48can say use the Codex router skill
- 9:52to
- 9:54review the code base.
- 9:57So what this is going to do, the Codex
- 9:59router skill is going to use Jev with a
- 10:01Python script, and then it's going to
- 10:04based on this prompt, it's going to
- 10:05figure out which model to use for this
- 10:07particular task. Okay, so the model is
- 10:09now spawned a new thread, so it's using
- 10:11the GPT-6 Astra high reasoning
- 10:14for 99% probability. I guess because
- 10:16this is a code review essentially. So if
- 10:18we go and open this chat, you can see
- 10:20here now we've selected the GPT-6 Astra
- 10:23high model. So in this example, we're
- 10:25using the GPT-5.6 Luna model with low
- 10:27reasoning because it's a really routine
- 10:29simple task. And then if we open this
- 10:31chat, you can see here we're using the
- 10:32Luna light model. So this is a good
- 10:34example of how you can use Jev for these
- 10:36kind of routing tasks. It's actually
- 10:38quite useful if you wanted to build this
- 10:40into your Codex setup. So this is the
- 10:42code for the Codex router if you wanted
- 10:44to use it. So essentially what we're
- 10:45using is the Codex facilities to create
- 10:48new threads. You can obviously adapt
- 10:50this for Claude code as well if you
- 10:51want. But we're actually using some
- 10:52code, so as well as the markdown file,
- 10:55we've got a script here which is going
- 10:56to use the Jev
- 10:58SDK to do the routing. So we are using a
- 11:01combination of both the skill markdown
- 11:03file and deterministic code to make this
- 11:06skill more powerful. So if you want to
- 11:07take a look at this skill and use it in
- 11:09your own workflow, I'll link it in the
- 11:11description.
- 11:12So just to give you one more example of
- 11:13how you could use this. So this is an
- 11:15example of a stock trading application.
- 11:17So in this example, what we're doing is
- 11:19we're using Jev to classify trades.
- 11:21We've got live Bitcoin
- 11:23pricing data, and then we're basically
- 11:25giving Jev a bunch of money, and then
- 11:27letting it figure out how to trade
- 11:30the uh the Bitcoin.
- 11:32And so we have three options. We can
- 11:33either buy, hold, or sell. And then you
- 11:36can see here the simulated profit from
- 11:38any action it takes. I would say this is
- 11:40actually a bad use case for Jev because
- 11:42you could probably do this much more
- 11:44efficiently using deterministic code.
- 11:46But it's just another nice example of
- 11:48how to use this kind of classification
- 11:50idea.
- 11:51So if you take a look at the pricing,
- 11:53you'll see that there's a massive
- 11:54difference between a model like Jev and
- 11:55a large language model for this kind of
- 11:57classification task. So I asked Claude
- 11:59to compare the price of processing 5,000
- 12:02emails and classifying them using a
- 12:04model like Jev, using Claude's Haiku
- 12:06which is a cheaper model, or using Opus
- 12:085.5. So you can see the price per
- 12:10million tokens is much, much lower for
- 12:12Jev. And so you can see the cost of
- 12:155,000 emails with Jev is $0.09.
- 12:18Whereas with Haiku, this is going to be
- 12:19about $2. So a very significant
- 12:22difference in cost here even using
- 12:23Claude Haiku. But then if you go up to
- 12:25something like Opus, you can see here
- 12:27we're put paying like $14 to $29 to
- 12:30process these emails. So massive
- 12:32difference here. This is like a 30,000%
- 12:36difference in cost. So really, really
- 12:37massive difference. And then in the
- 12:39processing time, you can see here for
- 12:41Jev to process 5,000 emails
- 12:43sequentially, it would be about 49
- 12:45minutes. And then if you're using Claude
- 12:47Haiku, this would be kind of similar
- 12:50timeline. But if you're using something
- 12:52like Opus, this is a massive, massive
- 12:53difference in time. So if you are
- 12:55building an AI system in production and
- 12:57you're processing, you know, thousands
- 12:59of emails or you're doing thousands of
- 13:00classification operations every single
- 13:02day, the cost and the speed is going to
- 13:04be a massive uh factor in choosing
- 13:07something like Jev. It's going to be
- 13:08dramatically faster and dramatically
- 13:10cheaper than using a traditional large
- 13:12language model. But if you're just doing
- 13:13things on your local computer, you're
- 13:15not using this at high volume, it's
- 13:17probably not worth the complexity of
- 13:19adding something like Jev to your setup.
- 13:20So I wouldn't use this unless I was
- 13:23doing a large volume of classifications.
- 13:25For simple things on my local machine,
- 13:27I'd probably just use a large language
- 13:28model cuz honestly, it's not going to
- 13:30make that much of a difference. But if
- 13:31you are building AI systems in
- 13:32production, this difference is going to
- 13:34be very dramatic. So overall, I think
- 13:36Jev is a really really good model. And
- 13:38especially if you're building some kind
- 13:39of AI system in production, I would use
- 13:41this model because it's going to be
- 13:42dramatically faster and dramatically
- 13:44cheaper. But just for day-to-day,
- 13:45[music] I'm not going to be using this
- 13:47model that much personally. So I think
- 13:49there's a lot of hype around this model.
- 13:51>> [music]
- 13:51>> I think it's genuinely useful for any
- 13:53kind of AI system where you're doing
- 13:55high volume classification or high
- 13:56volume routing.
- 13:58But for day-to-day stuff, I'm probably
- 13:59not going to use this model myself. It's
- 14:00not that useful for [music] me
- 14:02day-to-day. But as I said, if you're
- 14:03building an AI system in production, I
- 14:05could see this model being very very
- 14:06useful.
- 14:08Thanks again for watching the video. If
- 14:09you do have any questions or thoughts
- 14:10about this model, let me know in the
- 14:11comments below. Thanks again for
- 14:13watching. I really appreciate it and
- 14:14I'll see you in the next one. Take care.
About this transcript
This page contains the full transcript of JEV Explained (Real Use Cases) by Owain Lewis, generated from the public captions YouTube serves with the video. The transcript has 3,127 words across 460 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.