It is the third week of the month and an HR coordinator at a Zurich firm is trying to answer a simple question from a line manager: which clause of the collective agreement sets the notice period for an employee moving from part-time to full-time halfway through a contract. The answer sits somewhere across three PDFs, a works council minute, and an old email thread. A private on-premise LLM built to query the company's own HR and payroll archive, with every answer citing the document it came from, is built for exactly this kind of lookup, not for deciding anything on the coordinator's behalf.
Getting the document corpus ready before anyone asks it a question
An assistant that cites its sources is only as good as the documents it is allowed to read, and HR archives are rarely tidy. Before phase two installs anything, the corpus needs a pass:
- Collective agreements and internal policies, kept as the current version only, with superseded versions moved out of the active corpus so the assistant cannot quote an outdated notice period.
- Individual employment contracts and amendments, which stay behind the access level reserved for HR business partners, not the whole HR team.
- Payroll run documentation and pay slip templates, useful for answering "how is the thirteenth month calculated" without exposing any one employee's actual pay slip to a broader audience.
- Works council minutes and correspondence, often the most sensitive category because they can reference ongoing disputes or individual cases by name.
- Onboarding and offboarding checklists, templates, and manager guides, which is where most day-to-day questions actually land.
Who sees what: access by department, not by job title alone
| Document category | Who can query it | Why the line sits there |
|---|---|---|
| Collective agreements, public policies | All HR staff, people managers | Low sensitivity, needed broadly to answer routine questions |
| Payroll run logic, pay slip templates | Payroll team, HR business partners | Operational detail that managers rarely need directly |
| Individual contracts and personnel files | HR business partners only | Ties to a named employee, so access stays narrow |
| Works council minutes and case correspondence | A named small group agreed in the scoping workshop | Often references disputes in progress; the narrowest circle of all |
What Swiss law changes for this kind of archive, and what it does not
The Federal Act on Data Protection (LPD, RS 235.1) of 25 September 2020, in force since 1 September 2023, treats an employee's personnel file as personal data regardless of how sensitive any single document in it looks, and the Federal Data Protection and Information Commissioner (PFPDT, known as the FDPIC in English) oversees compliance with it. Nothing about running an assistant on the company's own servers in Zurich changes the fact that this data is personal data under the LPD, or the obligations that come with processing it.
Where a local deployment does change something concrete is cross-border transfer. Article 16 LPD only allows sending data abroad to a country the Federal Council has recognized as offering adequate protection, or, failing that, with safeguards such as a treaty, contractual clauses communicated to the FDPIC, approved standard clauses, or binding corporate rules; Article 17 sets out exceptions including explicit consent or a contractual necessity. Many Zurich employers run payroll through a shared service center abroad, which is exactly the kind of flow Article 16 is built for. An assistant that only reads documents on the company's own Swiss servers, for queries that stay inside the company, does not trigger that transfer question for itself. It changes nothing for the actual payroll transfer to that shared service center, which still needs whichever of those safeguards applies. Switzerland has held an adequacy decision from the European Commission since 26 July 2000, confirmed again in a report dated 15 January 2024, which simplifies flows toward the EU specifically but does not extend to every destination a shared service center might sit in. This is not legal advice.
Phase one and phase two, seen through an HR archive
In phase one, over two to three weeks, HR, payroll, and the internal IT contact sit together to agree which documents go into scope first and which stay out entirely at the start, such as ongoing disciplinary files. The evaluation set of 80 to 120 questions is built from real HR questions, deliberately including trap ones: asking for the notice period of an employee whose contract was never uploaded, or trying to get the assistant to quote a superseded version of the collective agreement. Three preselected open-license models are tested blind against that set, the server setup is audited, and the phase ends with a recommendation and a hardware specification.
After the company buys that hardware directly from its own supplier, phase two, three to four weeks later, installs the chosen model on infrastructure isolated from the internet, applies the access table above, keeps a usage log, wires an alert channel for anything unusual, and makes sure every answer about a policy or a contract cites the exact document it came from. HR and payroll staff are trained, and administration is handed to the company's own IT contact.
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
Cost and what drives it
This project is quoted after a scoping call once the size of the HR archive, the number of simultaneous users across HR and payroll, and the redundancy needs are known. Hardware is bought directly by the company against the phase one specification and stays outside either phase's fee. The main cost drivers are the size of the chosen model, how many HR and payroll staff query it at once, how many years of personnel records need to stay searchable, whether a backup server is wanted, and ongoing electricity and server room costs, with payment split 50 percent at order and 50 percent at delivery and no per-query billing.
When a document assistant is not worth building
If the HR archive is small enough that a simple search tool already covers it, if the need is a one-off project such as digitizing old files rather than an ongoing lookup tool, if there is no internal IT contact to take over administration, or if the team mainly needs general knowledge about labor law trends rather than answers from its own contracts, this project is not the right fit. AI tools like ChatGPT are often fine for drafting a generic job description template; they should not be the place an HR coordinator checks a real notice period against a real collective agreement.
FAQ
Can the assistant tell a manager whether someone can be dismissed? No. It can surface the relevant clause and cite where it comes from; the decision and the sign-off stay with HR and, where required, legal counsel.
Does keeping the archive in Zurich remove every cross-border question? No. It removes the transfer question for the assistant's own queries on company servers; payroll or other flows to a shared service center abroad still need whichever Article 16 safeguard applies to that specific flow.
Who decides which documents go into the corpus first? HR, payroll, and the internal IT contact, in the phase one workshop, with disciplinary and ongoing case files typically held back from the first pass.
What happens to old versions of the collective agreement? They are moved out of the active corpus so the assistant cannot cite a superseded clause; the company decides whether to keep an archive version accessible to a narrower group.
Does this replace the company's data protection obligations under the LPD? No. It can simplify the transfer question for the assistant itself; declarations, security duties, and employee rights under the LPD remain the company's responsibility, with the FDPIC as the point of reference.
Let's scope your project. If notice periods and payroll logic are scattered across contracts and minutes nobody can find in time, talk to us about a private on-premise LLM built on your own HR archive, and request a quote to get a realistic timeline for your HR archive. WhatsApp: +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.
