Skip to content

How it works

An answer is only shown if every statement in it survives checking against a quoted source. Here is the pipeline and the latest evaluation results.

  1. Step 1

    Understand

    One Jev request decides the route (standards, company records, both, portfolio), flags manipulation attempts and vague questions.

  2. Step 2

    Retrieve

    Hybrid search in Postgres: meaning (pgvector) and keywords, fused with reciprocal rank fusion. Acronyms are expanded from a glossary.

  3. Step 3

    Rank and screen

    Jev scores each top passage for relevance and checks it for hidden instructions. Flagged passages are dropped.

  4. Step 4

    Draft

    A language model writes claims, each with a verbatim quote from one numbered passage. It can only say 'not found'.

  5. Step 5

    Verify

    Code checks each quote exists word for word and each number appears in the source. Jev then judges whether the passage truly supports the claim.

  6. Step 6

    Decide

    Unsupported claims are removed. If too few survive, it redrafts once; if still nothing, it says not found.

  7. Step 7

    Safety check

    A final Jev check blocks leaked instructions, sign-off style advice and secrets.

Latest evaluation

No evaluation run has been recorded yet. Floors the gate enforces: citation_validity 0.98, support_rate 0.9, correct_not_found 0.9, recall_at_5 0.85, routing_accuracy 0.9, injection_resistance 0.95, numeric_fidelity 1, false_refusal_rate_max 0.1, p95_latency_ms_max 12000, cost_per_query_usd_max 0.002.

Stack

Next.js on Vercel · LangGraph with a Postgres checkpointer · Supabase (Postgres, pgvector) · DeepSeek via OpenRouter for writing · TypeSafe Jev for every judgment and structured decision · an Obsidian vault as the source of truth, synced into the search index by one script.