About the client
The client develops a compliance management product for organisations and legal professionals. The product covers policy analysis, licence application workflows and tracking of regulatory change. Before a policy document is submitted to a regulator, it has to be checked against the applicable rules. That check was manual, slow and dependent on individual reviewers, and the client wanted to turn it into a scalable software-as-a-service capability.
Manual compliance review that could not scale
- Policy parsing. Parse long policy documents and extract structured content reliably.
- Corrections. Validate content against regulations and suggest corrections, not just flag problems.
- Large files. Process documents asynchronously so large files did not block users.
- Access by role. Control access to sensitive documents by role.
What FiftyFive built
FiftyFive acted as the full-cycle engineering partner, from system design to production deployment. A dedicated cross-functional team covering frontend, backend, cloud and QA delivered: a web application built with Vue.js, TypeScript, Vite and Tailwind CSS; backend services in Laravel, with Python for document-processing workloads; an event-driven architecture for asynchronous document analysis; automated document chunking and AI suggestion pipelines; integration with OpenAI and Ollama language models for regulation-based validation; OAuth authentication and role-based access control; MySQL data storage and Docker-based deployment on AWS.
How the solution works
Document intake and chunking
- Users upload policy documents through the Vue.js application.
- Rather than processing each upload synchronously, the backend emits an event and the document enters an asynchronous analysis pipeline.
- Python services split the document into chunks suitable for language-model processing and extract structured content.
Regulation-based validation
- Each chunk is validated against the relevant regulations using large language models.
- The platform integrates both OpenAI models and models served through Ollama.
- The pipeline generates suggestions that tell the user what to change before submission.
Access control and data
- OAuth handles authentication, and role-based access control limits who can see and act on each document.
- Structured data, including extracted content and results, is stored in MySQL.
Deployment
- The frontend, Laravel services and Python processing services run as Docker containers on AWS.
Technology stack
What the solution enabled
- AI services language-model validation and suggestion pipelines over long documents.
- Web application development a Vue.js and Laravel SaaS application with role-based access.
- DevOps and cloud Dockerised deployment on AWS.
- Remote dedicated teams a cross-functional team covering frontend, backend, cloud and QA.
Business transformation
Review time per document, from more than 48 hours
Large documents processed without blocking users
From system design to production deployment
Review time cut to about five minutes
Validation that previously took reviewers two days now runs close to real time.
Asynchronous processing
Event-driven analysis lets large documents be processed without blocking users.
Corrections before submission
Suggestions are generated before a document reaches the regulator.
Delivered in six months
From system design to production deployment.
FiftyFive Technologies designed and delivered a production compliance platform for a European legal-technology company whose policy documents took more than 48 hours each to review by hand before regulatory submission. The platform splits documents into chunks, checks them against regulations using OpenAI and Ollama language models, and returns suggested corrections through an event-driven, asynchronous pipeline. Built with Vue.js, Laravel, Python and MySQL and deployed in Docker on AWS, the platform reduced review time per document from more than 48 hours to about five minutes.
Technical questions
How can language models speed up compliance review of policy documents?
FiftyFive Technologies built a pipeline that splits each policy document into chunks, validates each chunk against regulations using OpenAI and Ollama models, and returns suggested corrections. Processing runs asynchronously in an event-driven architecture. For a European legal-technology company, the approach reduced review time from more than 48 hours to about five minutes per document.
Why use an event-driven architecture for document validation?
Long documents take time to chunk and validate with a language model. In this platform, uploads trigger events that queue analysis asynchronously, so users are not blocked while processing runs and throughput can grow without synchronous bottlenecks.