INDUSEURO
All case studies
EdTechEnterpriseGDPRPII Safe

AI-Based Automated Content & Support Intelligence

Client: EdTech & Enterprise Support Platform

Built a dual-track AI system that reliably generates educational content variants at scale and extracts actionable patterns from support data—without exposing any user PII.

10x fasterContent generation throughput
ZeroPII exposure incidents
AutomatedSupport ticket insights
>95%Question difficulty consistency

Overview

This engagement covered two interconnected challenges for a platform operating at the intersection of education and enterprise support: generating high-quality educational content reliably at scale, and extracting actionable insights from support interactions—all while keeping user data private and compliant with GDPR.

The result was a dual-track AI system. One track handles content generation with strict quality and difficulty controls. The other processes support data with a privacy-first architecture that anonymises personal information before it ever reaches an AI model.


The Problem

Track 1: Content Generation

The client's platform required a large and constantly updated bank of exam questions and learning content across multiple subjects and difficulty levels. Previous attempts using off-the-shelf LLM prompting produced inconsistent results—questions that were too easy, too hard, ambiguous, or simply wrong. The unpredictability made manual review a bottleneck and defeated the purpose of automation.

The core problem was that raw LLM outputs lack the structure, consistency, and measurable quality needed for high-stakes educational use. Generating a question is easy. Generating a question of the right difficulty, on the right concept, in the right format, with reliable distractors, is a fundamentally different challenge.

Track 2: Support Intelligence

The support team was drowning in ticket volume with no systematic way to surface trends, recurring issues, or root causes. Existing tooling provided raw data but no intelligence. A solution using AI to analyse tickets was an obvious next step—but the support data contained significant amounts of personally identifiable information: names, email addresses, account details, and in some cases sensitive personal context.

Feeding raw support tickets into an LLM was not an option under GDPR. A privacy-preserving architecture was required before any AI analysis could begin.


System Architecture

TRACK 1 – CONTENT GENERATION PIPELINE
┌─────────────────┐    ┌─────────────────┐    ┌──────────────────┐
│  Content Brief  │───▶│  Template +     │───▶│  Quality         │
│  (topic, level, │    │  Constraint     │    │  Validation      │
│  format)        │    │  Engine         │    │  (difficulty,    │
└─────────────────┘    └─────────────────┘    │  format, rubric) │
                                               └────────┬─────────┘
                                                        │
                              ┌─────────────────────────▼──────────┐
                              │    LLM Generation (OpenAI API)     │
                              │    with structured output schema   │
                              └─────────────────────────┬──────────┘
                                                        │
                              ┌─────────────────────────▼──────────┐
                              │   Post-generation Scoring &        │
                              │   Human Review Queue (edge cases)  │
                              └─────────────────────────┬──────────┘
                                                        │
                              ┌─────────────────────────▼──────────┐
                              │      Question Bank (PostgreSQL)    │
                              └────────────────────────────────────┘

TRACK 2 – SUPPORT INTELLIGENCE PIPELINE
┌──────────────────┐   ┌───────────────────┐   ┌──────────────────┐
│  Raw Support     │──▶│  PII Detection &  │──▶│  Anonymised      │
│  Tickets/Emails  │   │  Masking Layer    │   │  Ticket Store    │
└──────────────────┘   │  (names, emails,  │   └────────┬─────────┘
                       │  account IDs)     │            │
                       └───────────────────┘            │
                                          ┌─────────────▼──────────┐
                                          │  LLM Pattern Analysis  │
                                          │  (categorisation,      │
                                          │  sentiment, root cause)│
                                          └─────────────┬──────────┘
                                                        │
                                          ┌─────────────▼──────────┐
                                          │  Insight Dashboard     │
                                          │  (trend reports,       │
                                          │  escalation signals)   │
                                          └────────────────────────┘

Approach

Content Generation Framework

Rather than relying on free-form prompting, we designed a structured generation framework with explicit constraints at every stage:

Template-driven generation: Each content type (multiple choice, short answer, case study question) has a schema that constrains the LLM output. Models output JSON conforming to the schema, not free text. This eliminates format inconsistency entirely.

Difficulty anchoring: Difficulty levels are defined by measurable cognitive criteria (Bloom's Taxonomy levels), not subjective labels. The system includes difficulty-scoring heuristics that evaluate generated questions before they enter the bank. Questions that score outside the target range are automatically re-generated with adjusted constraints.

Variant generation: The system generates question variants (same concept, different phrasing, different distractors) systematically. This prevents question fatigue while maintaining the core assessment objective.

Human-in-the-loop routing: The scoring system identifies edge cases—questions near difficulty thresholds, novel topics with fewer training examples, or low-confidence scores—and routes them to a lightweight human review queue. Reviewers approve or reject with one click; the feedback loop fine-tunes the scoring model over time.

PII-Safe Support Intelligence

The privacy architecture uses a multi-layer approach:

PII detection: A rule-based + ML detection layer identifies personal identifiers (names, email patterns, phone numbers, account numbers, postcodes). Named entity recognition models handle freeform personal references.

Contextual masking: Detected entities are replaced with typed placeholders ([PERSON_NAME], [EMAIL], [ACCOUNT_ID]) before storage. The original data is never written to the analysis store. The mapping between real and anonymised values is never exposed to the AI layer.

Analysis on anonymised data: All LLM analysis runs exclusively on the anonymised ticket store. The system categorises tickets by issue type, identifies recurring patterns, extracts sentiment trends, and flags escalation signals.

Insight delivery: Results surface in an ops dashboard with filtering by time period, issue category, and product area. The dashboard highlights emerging trends with week-over-week comparisons.


Key Technical Challenges

Difficulty consistency across topics: A question rated "medium" in one subject should be comparable in cognitive load to "medium" in another. Achieving cross-topic consistency required domain-specific calibration of the scoring rubrics, drawing on the client's existing question bank as ground truth.

PII in unexpected forms: Beyond obvious identifiers, support tickets contained indirect identifiers—references to specific unusual circumstances, unusual combinations of attributes, or context that could re-identify individuals. The masking layer needed to handle not just patterns but contextual disclosure risk.

Latency vs. quality trade-off: Batch generation of thousands of questions had to balance throughput against per-question quality checks. We implemented an async pipeline with parallel validation workers so that quality scoring doesn't become the bottleneck.


Outcomes

  • Content generation throughput increased 10x compared to the manual authoring process.
  • Question difficulty consistency exceeded 95% in calibration testing against the existing question bank.
  • Zero PII exposure incidents since deployment—verified by quarterly privacy audits.
  • Support insights now run automatically, surfacing weekly trend reports with no manual analysis required.
  • The human review queue handles less than 8% of generated content, validating the automated quality scoring.

Technology Stack

  • Generation layer: OpenAI API with structured output and function calling
  • PII detection: spaCy NER + custom rule engine
  • Backend: Python / FastAPI
  • Database: PostgreSQL (question bank and anonymised ticket store)
  • Frontend: React (review queue and insight dashboard)
  • Infrastructure: Docker, deployed on client's cloud tenant (EU region)

Compliance & Privacy

  • All processing within EU data boundaries.
  • GDPR Article 25 (data protection by design) implemented at architecture level.
  • PII masking applied before any data enters the AI pipeline.
  • Full audit log of all generation events and data access.
  • Privacy impact assessment completed prior to deployment.

Technology stack

PythonOpenAI APILLM Fine-tuningPII MaskingPostgreSQLFastAPIReact

Services delivered

Gen AI AppsData Engineering for AISoftware Engineering

Discuss a similar project

If this case study is relevant to a challenge you're facing, we'd welcome the conversation.

Book a consultation