Playground · In-browser tool

Retrieval evaluation

Check whether the labeled document was retrieved before judging how fluent the answer sounds.

Two retrievers

BM25 uses term frequency and rarity. The vector score is cosine similarity over character bigrams. A zero score is not a hit. Text stays in the browser.

BM25 Hit
86%
Vector Hit
86%
BM25 MRR
0.86
Vector MRR
0.71

Top result differs: 在线购票退票要提前48小时; 48小时退票

QueryBM25VectorHit@3
恶劣天气关闭后可以退款吗1, 21, 2BM25 / vector
下雨关门了票能退吗——— / —
在线购票退票要提前48小时 *3, 6, 56, 3, 5BM25 / vector
年卡餐饮有折扣吗22BM25 / vector
海盗项目何时暂停44BM25 / vector
军人购票打几折55BM25 / vector
48小时退票 *3, 66, 3BM25 / vector

Numbers follow document order. A star marks a query whose top hit differs. The last sample document repeats “退票” so the vector rank leaves the real 48-hour policy.

Preparing a release? View the US$249 retrieval review and worked example

Read the guide (Chinese): Retrieval evaluation: hits before fluent answers →