DocuLens

How it works

Traceable answers, not confident guesses

DocuLens answers questions about a document you provide and shows the evidence behind every answer, so you can check it instead of trusting it.

  1. 01

    Validate

    Extension and actual file content are checked (a .pdf must start with a PDF header; text must be valid UTF-8). Files over 4 MB or 200 pages are rejected.

  2. 02

    Extract

    PDF text is extracted on the server page by page; text files are decoded safely. Image-only PDFs are reported — there is no OCR.

  3. 03

    Chunk

    Text is split into passages of about 650 characters along sentence and paragraph boundaries. Each passage keeps its page number (PDF) or line numbers (text) and exact character offsets.

  4. 04

    Retrieve

    Questions are matched against passages with BM25, a transparent keyword-ranking method. If no passage contains enough of the question's key terms, DocuLens reports insufficient evidence.

  5. 05

    Answer

    Without an AI key, the answer quotes the best-matching sentences verbatim. With a key, a model answers from the retrieved passages only, and every citation is checked to exist in those passages before it is shown.

  6. 06

    Inspect

    Selecting a citation scrolls the viewer to the passage and highlights the quoted text.

Security and privacy

Limitations

← Back to the workspace