Matching evaluation
Find the embedding model that best matches your ads to the right content. Describe a campaign, add the URLs it could run against, and get back a scored leaderboard — Recall, Precision, MRR, and nDCG — showing which model ranks the relevant pages highest.
Decide what counts as relevant yourself (human judge), or let an LLM grade every URL against the brief (LLM judge). The four steps below walk through it.
1. Campaign
A sentence or two describing the campaign — the kind of content your ad should sit next to.
2. Content to test
Relevance judgeWho decides what's relevant: you (mark URLs) or an LLM (grades every URL against the brief).
The URLs that should rank at the top — your gold standard. One per line (0).
Extra candidates the ranking must beat — not counted as relevant. One per line (0).
3. Ranking setup
Needs 2+ models selected. Adds one fused ranking to the leaderboard to see if combining beats the best single model.
4. Run
What the controls do, and how to read the results
Similarity metric
- cosine
- Angle between the brief and the page, ignoring length. The default and the safest; 1 means the same direction, 0 means unrelated.
- dot
- Like cosine, but also rewards longer, more confident vectors, so denser pages can move up. Use when magnitude carries signal.
- l2
- Straight-line (Euclidean) distance; closer vectors rank higher. Tracks cosine on normalised vectors, diverges when they are not.
Fusion
- rrf
- Reciprocal Rank Fusion: adds 1 / (60 + rank) across the selected models. Combines ranks, not scores, so models on different scales still merge cleanly. The default.
- borda
- Points by position, the top of each list scoring most. Simpler than RRF, but sensitive to how long each model’s list is.
- single
- No fusion: rank with just the one model you pick from the Model dropdown. Use it to judge a single model on its own.
Ranking scope
- My URLs only
- Rank only the URLs you pasted against each other. A controlled test of a set you curated.
- Whole corpus
- Rank your URLs against every page already ingested. Harder and more realistic, but unmarked pages count as not-relevant, so metrics read low.
Relevance judge
- Human
- You mark which URLs are relevant; metrics use your marks, no LLM, instant. Best for a small set you can label by hand.
- LLM
- A model grades every candidate 0 to 3; needed to score a whole corpus fairly. Costs a little and takes longer.
Reading the results
- nDCG@k
- Overall ranking quality, rewarding relevant pages placed higher (0 to 1).
- Recall@k
- Of all the relevant pages, how many reached the top k.
- Precision@k
- Of the top k results, how many are relevant.
- MRR
- How high the first relevant page sits (1.0 means rank 1).
- top-k
- The cutoff every metric reads to. Raise it to be more forgiving, lower it to be stricter.