2 min read · Updated 2026-05-22

How to deploy a GDPR-compliant AI knowledge base

End-to-end playbook for shipping a customer-facing AI assistant that satisfies GDPR + the EU AI Act — checklist, architecture, common traps.

by helpcode engineering team · Engineering @ helpcode

Why this matters

A customer-facing AI assistant processes personal data — at minimum the conversation transcript, often the customer's email, account ID and the device they're complaining about. That puts it squarely inside GDPR (controller / processor obligations) and, from 2026, inside the EU AI Act (transparency, post-market monitoring, audit log). Build the wrong architecture and you'll either fail procurement or pay for a re-build mid-year. Build the right one and you'll ship faster than the competition.

This guide is the end-to-end playbook helpcode follows when standing up a knowledge-base deployment for an EU customer.

Reference architecture

Three planes, kept separate by design:

  1. Ingestion plane — pulls source documents (Confluence, SharePoint, Drive, PDFs) and runs chunking, OCR and embedding. Per-tenant index — no cross-tenant retrieval is even possible.
  2. Retrieval plane — hybrid retrieval over the per-tenant index, reranker pass, top-K assembly. All in-region (Frankfurt).
  3. Generation plane — the LLM call. Pick a model endpoint that stays in the EU (Mistral Paris, Anthropic EU, OpenAI EU). Every response is logged with the citations it used.

The split matters because each plane has a different threat model and a different sub-processor list.

Data flow & residency

Two hard rules:

  • No customer document ever leaves the EU at rest. S3 bucket in Frankfurt; backups in Frankfurt.
  • The LLM call respects the model provider's regional endpoint. If you pick anthropic.eu, the prompt + the retrieved snippets travel inside the EU and the response comes back inside the EU.

Document everything in the DPA appendix, and keep the list of sub-processors public — your customer's procurement will check.

The AI Act art. 50 requires the user to know they're talking to AI. Two practical implementations:

  • Chat widget: a one-line disclaimer above the input box. Don't hide it in a tooltip.
  • Voice: an opening "Hi, this is the AI assistant for ACME — say 'human' anytime to be transferred." spoken in the user's language.

Track that the disclosure was rendered, in the audit log, so you can prove it later.

Audit log & traceability

AI Act art. 12 expects you to be able to reconstruct any answer. helpcode logs, per conversation turn:

  • the user message
  • the retrieval results with their relevance scores
  • the reranker scores
  • the LLM model + version
  • the final prompt + the final answer + the citations

CSV export and API access on demand. This is what your auditor wants — and what your engineering team needs to ship eval improvements.

Pre-launch checklist

  • Per-tenant index, never shared
  • EU-only sub-processor list, public
  • DPA signed, SCCs annexed
  • AI disclosure rendered + logged on every turn
  • Audit log retention ≥ 13 months
  • Data residency clause in the master agreement
  • FRIA template completed for your specific deployment
  • Human handoff path tested end-to-end

When all eight pass, you ship.

About the author

HE

helpcode engineering team

Engineering @ helpcode