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小时退票
| Query | BM25 | Vector | Hit@3 |
|---|---|---|---|
| 恶劣天气关闭后可以退款吗 | 1, 2 | 1, 2 | BM25 / vector |
| 下雨关门了票能退吗 | — | — | — / — |
| 在线购票退票要提前48小时 * | 3, 6, 5 | 6, 3, 5 | BM25 / vector |
| 年卡餐饮有折扣吗 | 2 | 2 | BM25 / vector |
| 海盗项目何时暂停 | 4 | 4 | BM25 / vector |
| 军人购票打几折 | 5 | 5 | BM25 / vector |
| 48小时退票 * | 3, 6 | 6, 3 | BM25 / 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 →