Retrieval ✦ 71outlineNot a production recipe — calibrate thresholds

BM25 shortlist then Jev rerank

Who: Search eng. Steps: BM25 top-n → per-pair question → reorder. Expected effect: Cookbook-reported top-1/top-10 lifts on CLERC.

1

Treat this as an outline — adapt state and questions to your data.

2

Implement in code — call System One / Jev; compose answers yourself.

3

Gate on confidence — act, confirm, or escalate before side effects.

Outline sketch

Prompt
# BM25 shortlist then Jev rerank
State: relevant software state for this pattern.
Ask: Choice / Score / Noul questions that close the decision space.
Then: compose the route or action in code; escalate when confidence is low.

Needs access to: typesafe-sdk

Who it's for

Search eng

Steps / how it's set up

Steps

  1. BM25 top-n.
  2. per-pair question.
  3. reorder.

Sources

Metrics and demo claims are author-reported or cookbook-reported unless you measure them yourself. Calibrate on your data.

Expected effect

Cookbook-reported top-1/top-10 lifts on CLERC

Unofficial outline for learning. Paraphrased from public docs and tutorials — not a production recipe. Review sources before you automate anything.