HACKATHON · TEAM PROJECT · BACKEND

Manuscript reformatting pipeline

A local LLM reads a journal's written guidelines and turns them into validated rules. Ten deterministic transformations then reformat the manuscript.

  • Plain code
  • A model
  • A check
  • An outside part
  • One request
  1. The manuscript, as uploaded

    A DOCX or PDF. The backend parses its structure and pulls metadata with GROBID.

  2. Guidelines become rules

    A local LLM, served by Ollama, reads the journal's written guidelines and turns them into rules.

  3. Rules are validated

    The rules are validated before the transformations use them.

  4. Ten plain transformations

    Ten deterministic transformations apply the rules. No model is involved from here on.

  5. Checked and reformatted

    Each reference DOI is verified against Crossref. The result comes out as DOCX or PDF.

ROLE
Backend
SETTING
Hackathon, team project
STACK
Python, FastAPI, Ollama, GROBID, Crossref
CODE
Code on GitHub (branch new)Backend is in agent-paperpal/backend.

KEY

  • Plain code
  • A model
  • A check
  • An outside part
  • One request

Ten plates in the rack, one per transformation.