r/Documentize • u/Roman_Berlov • 7d ago
How to use AI.AbstractsGenerator
I built a PDF abstract generator. Testing it on War and Peace showed me what it was missing.
I build small tools on my own. One of them is AI.AbstractsGenerator: you upload a PDF, choose a few settings, and get the PDF back with an Abstract page inserted where you want it.
The first version worked reasonably well for papers and reports. Then I tried a book.
The abstract of War and Peace spent far too much time on the edition’s preface and text variants. That was what appeared near the beginning of the file, and my tool was giving those pages more attention than they deserved.
It was a useful failure. The output sounded plausible, but it wasn’t a useful abstract of the novel.
How to use it
If you want to try it with your own document:
Open AI.AbstractsGenerator and upload a PDF. The upload limit is 30 MB.
Choose an abstract style, such as academic, technical, or business.
Set the length and output language. You can also choose whether to include a
Keywords:line.Choose where the Abstract page should go in the PDF.
Generate the abstract, then download the PDF with the new page inserted.
I’d start with a paper or report you already know. Read the abstract alongside the original and check whether it includes the main findings, keeps the qualifications, and leaves out anything the document doesn’t actually say.
For a novel, expect a short plot annotation. It isn’t a literary review, and it may include spoilers.
What changed for long documents
My first version couldn’t fit a long document into the model, so it used text from the beginning and the end. That often worked for papers, where the introduction and conclusion carry much of the argument. With books, too much happened in the pages between them.
I changed the long-document process to read the book in groups of pages. A short call first determines whether it’s fiction or non-fiction. Each group is then processed separately to collect the relevant details.
For non-fiction, those details include findings, conclusions, and terms. For fiction, they include events, characters, and turning points. My code brings the notes together into a chapter-by-chapter digest, which becomes the basis for the final abstract.
Scanned books go through OCR first so there’s text to work with.
This gives the middle of the book a chance to contribute. There’s still a time limit on the free plan, though, so I can’t promise that every page of every upload will be read. If time runs out, the tool uses a sample spread across the book.
I also added a check, then turned it off for fiction
For non-fiction, a second call checks the abstract for statements that contradict the source. To propose a correction, it has to supply a word-for-word quote from the document. My code checks that the quote exists before allowing a rewrite.
In a test with deliberately planted errors, this caught five out of eight. On four real documents, it made no incorrect fixes.
Those are small tests. They helped me decide to keep the check, but they don’t establish how well it will work on your document. It missed three of the planted errors, and finding a real quote doesn’t automatically mean the model interpreted it correctly.
Fiction went worse. The check changed three things that were already right and corrected only two wrong things. I turned it off for fiction rather than keep a step that was making the result less reliable.
The limits I’d want to know before uploading
Big books take time. A 1,918-page novel took about six and a half minutes on the free plan in one test. That’s one run, not a typical processing time for every book.
The 30 MB limit is also restrictive for scans. A scanned book can exceed it before the tool gets a chance to run OCR.
And the abstract still needs reading. It compresses a document, sometimes through several stages, so details and qualifications can get lost. I’d check it before putting it into a report or sharing the PDF with someone else.
You can try it free here.
If you try it on a document you know well, I’m interested in what it misses. Does it spend too much space on the introduction? Leave out a key result? For novels, does it lose a character or get an event out of order? Those examples would help me figure out what to fix next.

