News
From a publisher’s database to an AI assistant
For a publishing house we built a web application and middleware that collect books, full texts and front matter in one place and prepare them for an AI chat on the website.
A publisher has thousands of titles. Each has its ISBN, genre, edition, cover and a print-ready PDF that sits somewhere on a network drive. A customer on the website wants something simple: to say “I’m looking for a thrilling novel for my holiday” and get an answer about a specific book, not just its title. For artificial intelligence to answer that, it has to actually read the book. That needs all the source material in one place, in good order.
This is exactly the layer we designed and built for the client: a web application and middleware between its database and the AI.
Starting point: data in three places
The basic title data (name, author, genre, price, status) lives in the publisher’s ERP system. The texts of the books are on editors’ drives and at the printers. Nothing held everything together. An AI assistant without the text of a book can only repeat what is in its blurb.
What we built
A title catalogue. The publisher’s staff add a title by EAN or ID and the system pulls the basic data from the ERP system. One button refreshes it when the price, status or edition changes.
Labelled attachments. Files are uploaded for each title and every file gets a label: book block (the full text), title page, imprint page, cover, endpaper and others. The AI therefore knows which file is text to read and which is just a print file.
Versions and archive. When a corrected book block is uploaded, the previous version is archived automatically. Nothing is lost and it is always clear which file is current. Deletion is “soft”, so a file can be restored.
Notes and permissions. Colleagues add comments to titles (for example “page 87 corrected”). Login and roles distinguish an ordinary user from an administrator.
Output for AI. For every title the middleware prepares a structured XML file: identifier, genre, repertoire, year of publication, language, a link to the book block and timestamps of the last change. Only titles that the publisher marks for AI processing go into the output. Thanks to the timestamps, the AI reads only what has changed and does not have to re-read the whole library every night.
What customers get
An AI assistant in the live chat on the publisher’s website will work with the full text, the front matter and the table of contents. Customers won’t need to hit the right keyword. They describe what they are looking for and get a recommendation with a concrete reason: which book has a similar atmosphere, which suits children from ten, which comes from the same world as the book they just finished.
What matters in a project like this
- The data stays under the publisher’s control. Complete works are protected by copyright, so the publisher decides which titles are made available to the AI and which are not.
- The quality of the input decides the quality of the answers. A correctly labelled, up-to-date book block matters more than the choice of a particular AI model.
- The system is designed as middleware. Neither the ERP system nor the web shop changes. We only added a layer between them, so it can later be connected to other channels too.
Current status
The application and data transfer are in production and the catalogue holds thousands of titles with tens of thousands of attachments. Connecting the chat on the website is the next step.
Do you have many documents that a customer chat or an internal assistant should be able to “read”? Get in touch. We will go through where the data sits today and what needs to be prepared. You can find more in our services Custom applications and Process automation.
Let's talk it through
Write to us — we will get back within one business day with a concrete next step.
