Skip to content
All projects

AI assistant for office staff: searching regulations and procedures

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
New employees take a long time to learn the procedures, and answers to recurring questions are inconsistent across departments.
Approach
A RAG assistant running in the office's own infrastructure that searches procedures, regulations, and interpretations, with citations and the effective date of the source.
Goal
Answers faithful to sources (with a citation): ≥ 95% on the test set; Time for a new hire to work independently: ≤ 4 weeks.

Client context

Public bodies run IT projects under public procurement rules, with formal acceptance of stages and digital accessibility obligations. Systems must run for years and be maintainable by successive contractors. The client is a central government office with a large number of internal procedures, regulations, and interpretations in which employees look for answers.

Challenge

New employees take a long time to learn the procedures, and answers to recurring questions are inconsistent across departments.

Requirements and constraints

  • The AI Act, i.e. Regulation (EU) 2024/1689, introduces obligations that depend on the risk category of the AI system: transparency toward users, human oversight, technical documentation, and event logging. Systems that affect creditworthiness or employment may fall into the high-risk category. (source)
  • GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
  • The National Interoperability Framework (KRI) sets minimum requirements for the IT systems of public bodies: interoperability, security, accessibility, and internal audit. The project must leave behind documentation that lets the contracting authority pass an inspection. (source)
  • The Polish National Cybersecurity System Act (KSC) defines the obligations of operators of essential services, including incident handling, cooperation with CSIRTs, and security audits every two years. The project must provide for an incident reporting procedure and audit trails. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation the client's team can take over.

Approach and architecture

We start an AI project with the business question and the cost of error: what happens when the model is wrong in one direction or the other. Only then do we choose the method. A simpler, explainable model often beats a deep network. We work in an MLOps cycle: versioning of data and models, validation on data from a different period than the training data, drift monitoring, and a path for rolling the model back to rules.

A RAG assistant running in the office's own infrastructure that searches procedures, regulations, and interpretations, with citations and the effective date of the source. Answers outside the scope of the documents are rejected, and the assistant does not make administrative decisions.

Key elements of the solution:

  • An index of procedures, regulations, and interpretations with versions
  • Answers with citations and the effective date
  • Deployment in the office's infrastructure
  • A test set of questions prepared with experts

Team and roles

RoleCountResponsibility
AI engineer1AI Worker design, tools, test sets, logging
Data scientist1models, validation, explainability
Python developer1services, integrations, processing scripts
Business analyst1requirements, processes, acceptance criteria
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Problem and data definition1–2problem card, data analysis
2. Prototype and offline evaluation3–6baseline model, metrics
3. Pilot with users7–10pilot, evaluation report
4. Production and MLOps11–14pipeline, monitoring, documentation
5. Review and development plan15–16report, backlog

Technology stack

A locally hosted language model (open-weight), pgvector, Python, integration with the document repository.

Risks and how we mitigate them

RiskHow we mitigate it
Incorrect language model answersanswers only from sources with citations, a test set, refusal outside scope, human approval
Processing of especially sensitive dataDPIA before the start, pseudonymization, role-based access, read logging
Dependence on a single AI model vendoran abstraction layer over the model, quality regression tests when the model changes, a fallback model

Measurable goals and KPIs

The values below are targets that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Answers faithful to sources (with a citation)≥ 95% on the test setexpert and automated evaluation
Time for a new hire to work independently≤ 4 weeksteam lead assessment
Active users of the solution≥ 80% of the target group after 3 monthsusage telemetry

Lessons learned and good practices

In public administration, the effective date of a source matters as much as the source itself. A locally hosted model resolves most data security questions. A simple model that works in production is worth more than the best model in a notebook.

Why DYNAMINDS Labs

DYNAMINDS Labs is the R&D division of B2B.net S.A. On the Elevate platform, our external IT department model, we deploy AI Workers that organize data and take over repetitive work. Each step is a separate ticket with a price and a deadline within 24 hours, and payment happens after acceptance. The diagnosis is free.

Acceptance criteria

Each phase ends with formal acceptance against criteria agreed at the start. In this engagement, acceptance covers: problem card, data analysis; baseline model, metrics; pilot, evaluation report; pipeline, monitoring, documentation; report, backlog. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.

Next step

Want to see Jarvis on your own data? Book a free diagnosis: you will get a quote for the first ticket within 24 hours, and you pay only after acceptance.

Start with one task.

Describe it in your own words. We start with a free diagnosis and reply within 24 hours.

Meet DYNAMINDS Labs

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Public sector