Skip to content
Codixio
Menu

Own product, document extraction, LLM

Source-faithful monitoring and extraction of regulatory sources

Period:
since 06/2026
Role:
Developer
  • C#
  • .NET 10
  • LLM classification
  • PdfPig
  • PostgreSQL
  • Directus
  • Astro
  • Docker
Every change to a source detected and evidenced. Flow: Source as HTML or PDF; Snapshot and hash diff; LLM classification; Extraction with quote; Review gate and publication

A pipeline that monitors regulatory sources such as guidelines and legal texts, reliably detects changes and extracts content so that every statement stays tied to its source.

Starting point

Guidelines, laws and platform rules change without notice, often in PDF documents that look very much alike. Anyone maintaining a database or content based on them must detect changes reliably and must not publish anything the source does not cover. Language models help with the analysis, but they invent statements even when the right text is at hand.

Solution

  • Sources fetched as HTML and PDF, text normalised before hashing so that cosmetic changes trigger nothing
  • Change detection by snapshot and hash diff, with a diff excerpt for review
  • LLM classification only on real changes: editorial, substantive or legally relevant, plus a short summary. Without a change there is no model call, which keeps cost and error rate low.
  • Structured extraction into an editorial database, publishing through review gates instead of blind auto-publish
  • Protection against false alarms: a document that does not start with the PDF signature counts as a source outage, not as a change

Technology

  • .NET 10 service with a built-in scheduler, PDF text extraction with PdfPig
  • PostgreSQL, Directus as the editorial interface, publishing as a static Astro website
  • Runs in Docker on Coolify

Research and development

The open question is how to tell, at the level of each single statement, whether the source really covers it, and whether the source used is still valid, especially with very similar documents. Codixio works on this as research and development.

Status

As of 12/2026: the pipeline has been running for an own database since July 2026. As Codixio Source-Watch, the same diff core is being extended into a standalone service that monitors the legal and platform sources of all our own apps, such as the Shopware apps. It is configured through a watch list in the repository. On a change it writes a note to the affected project in the Codixio Hub and queues a review task that assesses the impact. Without a change there is no model call and no email; a daily summary email reports signs of life and outages. The Extraction-Loop serves as the test bench for source-faithful extraction: before a dedicated model integration is built, it shows whether a model keeps the structure and backs every value with a verbatim quote.

All projects

Book a free, no-obligation initial call

In a free initial call we analyse your processes and agree on the framework for your project.

Email: support@codixio.com