Boneyard Tools

Ask Your Document

Drop in any passage of text, ask a plain-language question, and an AI reads the document and pulls out the exact answer, highlighted right where it appears, along with a confidence score. This is extractive question answering: the answer is always a real span from your document, never invented, so you can trust and verify it. Ask as many follow-up questions as you like against the same document. A DistilBERT model fine-tuned on SQuAD runs entirely in your browser, so your document is never uploaded. The model downloads once on first use, then is cached.

How to ask a question about a document

  1. Paste your document or passage into the context box.
  2. Type a question about it and click Ask.
  3. Read the highlighted answer and confidence, then ask follow-up questions on the same document.

Examples

Find a fact in a passage

Context: The Eiffel Tower is located in Paris and was completed in 1889. Question: When was it completed?
Answer: 1889 (High confidence), highlighted in the source text.

Frequently asked questions

Is my document uploaded anywhere?

No. Nothing is uploaded. The DistilBERT question-answering model runs entirely in your browser via WebAssembly, so your document is read on your device and never sent to a server. Only the model itself is downloaded, once, then cached.

Which AI model does this use?

It uses DistilBERT fine-tuned on SQuAD (the Stanford Question Answering Dataset), a fast and widely used extractive QA model. It runs locally in your browser through transformers.js and ONNX, with no API calls.

Does it make up answers like a chatbot?

No. This is extractive question answering, not generation. The answer is always an exact span copied from your document, with the location highlighted, so you can verify it in context. It cannot invent facts that are not in the text.

What if the answer is not in the document?

When the model cannot find a confident match, the tool tells you no confident answer was found rather than highlighting a misleading span. Try rephrasing the question or pasting a passage that actually contains the answer.

Can I ask several questions about the same document?

Yes. Paste the document once, then ask as many questions as you like. Each question and its answer are kept in a short history so you can interrogate one document repeatedly, and clicking a past answer re-highlights its span in the source.

Related tools