Skip to content
Lucas Zivan

Internship at Asmodee

Asmodee AI platform

AI features for an internal multi-LLM platform used by 800+ Asmodee employees: LLM file generation, OCR, translation and voice dictation, shipped with the tests and CI that keep them working.

error rate on generated files, down from 13%
4%
backend test coverage, starting from zero
88%
employees on the platform
800+

Context

Asmodee wanted one AI tool built and run in-house rather than scattered external licences. The platform was already in production when I joined; my job was to widen what it could do and to make the backend safe to change.

Key decisions

  1. 01

    Pick the model with a benchmark, not a hunch

    Word and Excel files are built from JSON that an LLM generates. I ran the same generation task on 3 models. Gemini won because it accepts a JSON schema in the request (structured output), so its answers match the schema. The error rate went from 13% to 4%.

  2. 02

    Tests and CI before more features

    The backend had no automated tests. I wrote Pytest suites with shared fixtures and mocks for every external API, ran them in isolated Tox environments and on every merge request in GitHub Actions. Coverage went from 0 to 88%.

  3. 03

    Specialised providers behind one API

    Mistral OCR (PDFs turned into Markdown pages with their images), DeepL and Whisper dictation sit behind the FastAPI/LangChain services. The Vue front-end calls one API whichever provider does the work.

  4. 04

    Generated files expire

    Generated documents go to cloud storage keyed by conversation, behind download links that expire after 48 hours, with upload size limits on the way in.

Architecture

Client

  • Vue 3, Pinia
  • Voice dictation
  • Projects
  • Responsive, i18n

API

  • FastAPI
  • /audio
  • /documents
  • /project
  • /translate

Orchestration

  • LangChain, LangGraph
  • docx / xlsx tools

AI providers

  • GPT-4o
  • Gemini, JSON schema
  • Mistral OCR
  • Whisper
  • DeepL

Data

  • PostgreSQL, pgvector
  • Files with 48 h links

Quality gate

  • Pytest + mocks
  • Tox
  • GitHub Actions
In colour: what I built
Tablet layout after the responsive overhaul (conversation titles blurred)
Tablet layout after the responsive overhaul (conversation titles blurred)
Phone layout after the responsive overhaul
Phone layout after the responsive overhaul

Results

  • File generation error rate down from 13% to 4%.
  • Backend test coverage up from 0 to 88% (Pytest, Tox, GitHub Actions).
  • In production: voice dictation, PDF OCR, Word/Excel generation, DeepL, Projects (conversations grouped under shared instructions), message feedback.
  • Responsive and localisation overhaul of the Vue 3 front-end (Pinia, Tailwind).

What I would do differently

OCR on long PDFs (over 50 pages) still takes 30 to 45 seconds; I would process pages in parallel. And I would add end-to-end tests on the main user journeys, since the suite I built is unit-level only.

Next case studyEASY.Q