Skip to content

Jev directory

Jev RAG Guard

A typed-decision accuracy layer for RAG pipelines that wraps the seam between retrieval and generation with six cheap checks: intent, relevance, clarify, sufficiency, grounding and caveat. Each check returns a calibrated probability you can threshold and log.
Stars
1
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
furkandrms
Last verified
Oct 2026

A typed-decision accuracy layer for RAG pipelines: rlevance filtering, a pre-generation sufficiency gate and post-generation grounding checks.

Forks
1
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

Highlights

  • Six checkpoints around a pipeline: intent before retrieval, relevance and clarify after it, sufficiency before generation, grounding and caveat last.
  • Every check is one bounded yes/no or closed-set judgment with a calibrated probability, not a free-form model call, so it stays fast, cheap and auditable.
  • A no from the sufficiency gate skips generation entirely and returns an honest I don't know instead of answering from weak context.
  • The decision model is pluggable: a built-in heuristic by default, with optional OpenAI, Anthropic and TypeSafe backends installed as extras.
  • The core rag-guard package has zero required dependencies and the project requires Python 3.10+.

Quickstart

bash
pip install -e .
pip install -e ".[typesafe]"

Watch out

Grounded in the truncated repository README and GitHub metadata reviewed on 2026-10-15; the README cuts off at the start of its Quickstart code block, so no end-to-end usage example is visible, and the project publishes no accuracy or latency benchmarks. The GitHub description file misspells relevance as rlevance filtering.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: A RAG loop where Jev decides what is real

X: Measuring what Jev does in a RAG pipeline

X: Jev-powered reranking for RAG. Likitd_’s jev-ranker uses Jev to rerank results in a RAG pipeline.

X: Coverage is not product value

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai