Jev AI

DocJev

LlamaIndex's open-source library that classifies a document against natural-language category rules or finds the boundaries between sub-documents, with swappable OCR backends (liteparse or LlamaParse) and a benchmark harness whose 40-document pilot classified 40/40 originals correctly at about 182 ms Jev decision p50.

作者
jerryjliu
领域
Document pipelines
分类
分类与路由
类型
REPO
托管于
github.com
在 GITHUB 上查看

它做什么判断

CHOICE

Picks one option from a fixed set

SCORE

Rates against ordered levels

NOUL

Answers a yes / no question

Inferred from this project's own one-line summary in the community list — it reads as a CHOICE decision. Read the source to confirm.

CHOICE 调用长什么样

这是该提问类型的通用骨架,不是这个项目的真实代码。

from typesafe import TypeSafe

ts = TypeSafe()  # reads TYPESAFE_API_KEY
result = ts.evaluate(
    state=page_state,
    questions={
        "next_action": {
            "type": "choice",
            "options": ["click", "scroll", "type", "done"],
            "instructions": "What should the agent do next?",
        }
    },
)
action = result["next_action"]          # the chosen option
confidence = result["next_action_confidence"]
更多分类与路由项目