ReplyShelf: an open model finds the reply you already wrote
说明与用途
ReplyShelf 是一个浏览器应用,利用开源句子嵌入模型检索先前编写的支持回复,以匹配同义问题,帮助客服快速找到、审核并复制可信答案。
问题
Support agents often need to reuse previously written replies for paraphrased questions, but finding the right reply becomes a separate task.
结果
The demo achieved 6 out of 8 correct matches on synthetic paraphrases, with semantic similarity outperforming simple Jaccard overlap in ambiguous cases. The app runs locally in a browser, requiring ~46 MB of assets and a modern WebAssembly‑capable browser.
工作流
- Store a reviewed question‑answer card in the shelf
- Ask a new question in the app
- The model computes a semantic similarity score between the new question and all stored questions
- If the highest score exceeds 0.42, the app displays the corresponding saved reply and its source question
- If the top two scores differ by less than 0.06, the app flags ambiguity and shows alternatives
- If no score exceeds 0.42, the app withholds a ready‑to‑copy reply
- Agent reviews the displayed reply, copies it, and personalises it for the customer
- Agent can add new cards, export a JSON backup, or run a local comparison in the "Behind the shelf" view
证据
ReplyShelf gives those answers a second life.
The core is Xenova/all-MiniLM-L6-v2, an Apache-2.0 open-weight sentence embedding model, running through Transformers.js 3.8.1 and ONNX Runtime’s WebAssembly backend in a Web Worker.
I tested eight fixed synthetic paraphrases against the same eight-card shelf and compared the model with simple Jaccard word overlap. Both methods retrieved the expected top card 6 out of 8 times.
The app withholds a ready-to-copy answer because the shelf has no close match.
- 记录日期: 2026-10-24T09:11:41.047Z