Skip to content
JevDirectory.org
Patterns

RAG passage classification

Score each retrieved passage with four Noul questions, then decide in code which passages reach the answering model.

Category
Patterns
Also known as
—
Related terms
4
Directory entries
2
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

The cookbook runs 81 passages — 80 Supabase auth docs plus a planted prompt injection — with four Nouls each: relevance, evidence, contradiction, and injection. Injection above 0.70 is excluded, contradiction above 0.70 flagged, relevance below 0.45 dropped, and evidence above 0.55 included.

The planted injection was dropped at 0.99 and a false-premise query kept its contradicting passage at 0.92, which is the point: contradictions are evidence, not noise. The injection question is a filter rather than a security boundary, because passages below threshold still reach the prompt.

Tagspatternssearchguardrails

From the directory

Score retrieved passages with four Noul questions each, then route in code: prompt injections dropped, false premises kept as conflicts, and evidence assembled separately for the generator.
Cookbooks & DemosDocs#official#cookbook#search
Official
Screen every message going into and out of an LLM app: a Noul describes possible hazards, a Score rates severity, and code thresholds the probabilities.
Cookbooks & DemosDocs#official#cookbook#guardrails
Official

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

$10,000 in Jev’s hands

I gave Jev $10,000 and let it trade

Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply

Jev plays Slay the Spire 2

昨天出的 typesafe.ai Jev 模型 适合高频决策,那岂不又是适合打游戏? 之前用 GPT-6 Astra 代打杀戮尖塔2 能力强但速度慢。 我刚实测用 Jev 打,行动思考只需 0.7秒, 画面我都没看清它就操作完了。 这超人类游戏速度, 着实又让我震惊瘫坐了😅 语言很难描述这感觉,看视频⬇️

Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply

An agent with a Jev model router

Fraud detection with Jev and Kimi K3

Jev Detector scans ~10,000 words for slop in ~2 s

Computer use without screenshots

Okay so Jev can actually do computer use really well Without any screenshots, or LLMs and no Pixels leave my mac I dont even read the Dom elements A local CoreML model segments every button and UI element on screen. On-device OCR reads the labels. That text is all Jev gets. Show more

Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply