JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Runnable examples

Worked examples via OpenRouter

A runnable Python project for Jev ticket triage and help-centre reranking through OpenRouter, with provider-specific transport, offline policy tests, live model tests, and an unusually careful account of ranking ties.

Original by Rajiv KuriakoseIntegrationsGitHub repositorySource reviewed

Before you dive in

What you’ll find in the original

  1. Batch many questions only when they share one state; reranking different passages requires one state per candidate and concurrent requests instead.
  2. Use different confidence thresholds for branches with different consequences, keep escalation policy in ordinary code, and include a none-of-these option.
  3. Report rank bounds when a baseline ties: assigning an arbitrary sorted position to an unranked item can make the comparison look better than it is.
Worth knowing

The direct TypeSafe path follows documented interfaces but was not run; the author verified OpenRouter. The 100% reranking result covers six authored queries against 26 passages and is explicitly a demonstration, not a benchmark.