Skip to content
JevDirectory.org
CommunityRepos & SDKs12 starsVerified 2026-09-22

jev-reranker

A Python library that reranks search results and filters retrieved documents with Jev, scoring each candidate's usefulness as evidence and dropping those below a configurable threshold before RAG context is assembled.

Category
Repos & SDKs
Published by
Community
Author
hotchpotch
Added
2026-09-22
Tagscommunitypythonrerankingsearchdata

Highlights

  • relevance_rerank() scores documents by their contribution to an answer, sorts them, and removes those below a threshold such as the default 0.2.
  • rerank() reorders candidates without filtering by default; both modes take a query and a list of documents and score through the Jev API.
  • Supports listwise, pointwise, and pairwise modes, and split budgets can count characters, tokens via an optional tokenizer, or a custom length function.
  • Sync and async methods share concurrency limits, exponential backoff with jitter that respects Retry-After up to 60 seconds, and automatic HTTP cleanup.
  • Each result carries its original document_index, and detail=True records every score including excluded documents, prompts, model, and usage.

Quickstart

python
from jev_reranker import JevReranker

query = "How long do I have to return an online order to ACME Shop?"
documents = [
    "ACME Shop accepts online returns within 30 days of delivery.",
    "ACME Shop in-store purchases can be returned within 14 days of purchase.",
]
reranker = JevReranker(api_key="YOUR_API_KEY")
evidence = reranker.relevance_rerank(query, documents, threshold=0.2)
for item in evidence["results"]:
    print(f"{item['score']:.2f}  {item['text']}")

Watch out

MIT-licensed and needs Python 3.11+ plus a TypeSafe API key; Jev usage is billed, documents are sent to the API for scoring, and the optional tokenizer extra pulls in PyTorch and Sentence Transformers.

More like this

13GitHub stars
A Python library that adds .jev accessors to pandas and Polars: ask a natural-language question per row and get labels, scores, and full probability distributions back.
Repos & SDKs#community#python#data
Communityjevframe
4GitHub stars
A record-linkage library and CLI where the match rule is written in plain English: Jev answers pair questions with a probability, with local candidate blocking and match resolution.
Repos & SDKs#community#python#data
Communityjlink
Unofficial LlamaIndex reranker and router built on the official Python SDK: JevRerank scores retrieved passages and JevSingleSelector chooses which tool handles a query.
Repos & SDKs#community#python#sdk
Back to all resources

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

Screening agent actions with Jev

Tested TypeSafe’s Jev (no-text, probability-only model) as an AI agent safety monitor. Checking each action first worked well caught most attacks with almost no false blocks, and much faster than Gemini.

Image
Image
Image
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

Cua's small System One models

A 706K-parameter form filler

cua open sourced a 706k param model that fills a whole form in one 50ms pass the llm agent doing the same form took 23 turns and 39.6 seconds the specialists are going to eat the generalists from the bottom

Cua
Cua
@trycua

1/ Introducing CUA-S1: a family of System One Models, small, specialized, and built for computer use. Today we're open-sourcing CUA-S1-FORMS, the first in the family: github.com/trycua/cua

Image
Reply

Navigating Neo4j with Jev

Jev 这个 waitlist 还是很给力的,昨天申请,今天就能用上。 给已经拿到 API、但还不知道怎么玩的人整理了一份 Awesome Jev,目前我能确认到的 Jev 项目基本都在这里: 1. jev-ultrafast Browser Use 做的高速浏览器 Agent。Jev Show more

Image
思维怪怪
思维怪怪
@0xLogicrw

前 OpenAI 研究员 Diogo Almeida 创办的 TypeSafe AI 推出新模型 Jev。它有点像一个能读懂自然语言的超级分类器,不生成文本,只返回选项、分数和概率,专门给软件做判断。 普通大模型需要一个 token 一个 token 往外生成,Jev 则可以并行给出多个结果。TypeSafe 还用新的 RLCD

Reply

Reranking 33,047 catalog entries

拿 Jev 做搜索重排,我先泼一盆冷水:单独用,它没打赢向量检索 TypeSafe 的 Jev 这阵子很火,一堆项目拿它做重排。我们在 Agent Skills Hub 的 33,047 条目录上认真测了一次,164 条中英文真实查询,9,831 对分级标注,整套只花了 2.6 美元 三个结论 01|单独重排,约等于没赢 Jev 重排 bge-m3 Show more

Jason Zhu
Jason Zhu
@GoSailGlobal

有美团、阿里的老哥嘛? 试试加一路召回、重排(离线、近实时实现),我觉得有奇效 他在文本理解上 跟之前机器学习、llm很不一样 还能自动打标签做特征

Reply

Six uses that stuck after 60 days