24/7 Support & Monitoring

A government AI assistant with on-premise RAG answers staff questions from your own documents instead of the open internet. Documents are indexed inside your network, the retrieval layer applies the same permissions as the source system, and a private large language model composes an answer with citations. Nothing leaves the environment, and every answer can be traced back to the source page.

Swedish Technology builds these assistants as an owned system: your servers, your model weights, your index, with an evaluation set and an audit log you can show to an auditor.

Reviewed 15 Aug 2026 by Swedish Technology Engineering Team · AI & Computer Vision hub

On-premise infrastructure hosting the model and index

What problem does this solve?

Government entities hold the answers their own staff need, but the answers are buried. A procurement officer looks for the clause that governs a variation order; a licensing officer needs the circular that superseded last year's rule; a new engineer needs to know which specification applies to a road category. The material exists in a document management system, a shared drive, an email archive and a set of scanned PDFs, and finding it depends on knowing which folder to open. Search returns file names, not answers, and scanned Arabic documents are often not searchable at all.

The obvious shortcut is a public AI chat service, and it is the one thing information-security policy cannot allow. Uploading internal correspondence, HR files, contracts or draft legislation to a service outside the entity's control breaches data-classification rules and, in several GCC entities, the terms of the hosting approval itself. Staff do it anyway on personal devices, which turns a productivity problem into a data-leakage problem.

The second failure mode is a pilot that impresses in a demo and collapses in production. A model that answers fluently but invents a clause number is worse than no assistant, because officers act on it. And an assistant that ignores document permissions will happily quote an HR investigation file to whoever asks. Both problems are architectural, not cosmetic: they are decided by how retrieval, permissions and evaluation are built, long before anyone chooses a model.

How the solution works

Retrieval-augmented generation (RAG) separates knowledge from language. The documents stay in your systems and are indexed inside your network; when a question arrives, the system retrieves the passages that user is allowed to read and gives them to a private language model with an instruction to answer only from that text and cite it. The model contributes wording and reasoning, not facts. When nothing relevant is retrieved, the correct behaviour is to say so and offer the closest documents, not to improvise.

Swedish Technology builds this as an owned system rather than a subscription: open-weight models running on your GPU servers or in a private UAE-region cloud, an index you control, connectors to your document management and correspondence systems, and role mapping that inherits existing permissions. Delivery includes an evaluation set of real questions with agreed correct answers, so accuracy is a measured number that can be re-tested after every change, and an audit trail that records which sources produced which answer.

  1. 1
    Input Agree the document scope: which repositories, which classifications, which languages, and who is allowed to see what. Scope is a security decision, not a technical one.
  2. 2
    Capture Connectors pull documents from the DMS, correspondence system, shared drives or database exports. Scanned files pass through OCR tuned for Arabic and English; layout is preserved so tables and headings survive.
  3. 3
    Processing Text is split into passages with metadata (document ID, section, issue date, version, classification, source ACL), embedded into vectors and written to a hybrid index that combines semantic and keyword search.
  4. 4
    Retrieval A question is rewritten if needed, filtered by the user's identity and the document ACLs, then matched against the index. Candidate passages are re-ranked so the strongest evidence reaches the model.
  5. 5
    Generation The private model receives the question and the retrieved passages with a strict instruction: answer from this text, cite each statement, and state clearly when the answer is not present.
  6. 6
    Action The officer reads the answer with its citations, opens the source document in one click, and uses it to draft a reply, complete a form or route a case. Sensitive workflows require an explicit human approval step.
  7. 7
    Reporting Every question, retrieved source, answer and feedback rating is logged. Dashboards show usage by department, unanswered questions, and accuracy against the evaluation set over time.
Secure enterprise AI assistant workflow for governed business knowledge
Enterprise technology context for Government AI Assistant with On-Premise RAG; contextual visual.
AI document intelligence workflow processing structured business information
AI processing context for Government AI Assistant with On-Premise RAG; contextual visual.

Reference architecture

The design goal is that the assistant can be switched off, re-pointed at a different model, or audited end to end without touching the source systems. Five layers, each replaceable.

LayerWhat it contains
Connectors & ingestionScheduled or event-driven pulls from the document management system, correspondence system, file shares and databases; OCR for scanned material; change detection so only new or modified documents are re-processed; deletion propagation so removed documents leave the index.
Index & retrievalVector store plus keyword index in one hybrid query, metadata filters (department, date, classification, document type), and a re-ranking step. Permissions are stored with each passage, not applied afterwards.
Model servingOpen-weight instruction-tuned models served on GPU nodes inside the network, with a separate embedding model. Quantisation and batching are chosen for the concurrency you actually need, not for benchmarks.
Application & orchestrationWeb or Teams-style interface in Arabic and English, conversation memory, prompt templates per use case, guardrails on input and output, and the rules that decide when to refuse or escalate.
Governance & operationsIdentity integration, audit logging, evaluation harness, red-team prompt suite, model and index versioning, and a rollback path to the previous index or model.

Deployment options: Runs on-premise on your own GPU servers, in a UAE-region private cloud, or fully air-gapped with model weights and container images transferred through a controlled media process. Nothing in the design requires an outbound internet connection at run time; updates are delivered as signed offline bundles.

Key capabilities

Question answering over internal documents

Staff get a direct answer with citations instead of a folder to search, and can open the source page to verify it.

available

Permission-aware retrieval

Users only ever see passages from documents they already have rights to, so the assistant cannot become a leak channel.

available

Arabic and English handling

Questions in either language retrieve from documents in both, with a right-to-left aware interface.

available

Scanned document ingestion

Archives of scanned circulars and correspondence become searchable and answerable, not just stored.

custom development

Summarise and compare documents

Officers get a structured summary of a long report, or a difference list between two versions of a policy.

custom development

Drafting assistance with templates

Replies and memos are drafted in the entity's own format, grounded in the cited source, and always reviewed by a human before issue.

custom development

Evaluation harness

Accuracy on a fixed set of real questions is measured before and after every model or index change, so quality does not drift silently.

available

Full audit trail

Any answer can be reconstructed months later: who asked, what was retrieved, which model version replied.

available

Integrations

The assistant reads from systems of record and never becomes one. Write-back, where it exists, is limited to drafts and is always subject to human approval.

SystemIntegration point & data exchangedDirection
Document & correspondence managementIndexes documents, metadata and permissions; deep links return the user to the original record for verification and workflow. → Document Management & Correspondence Systeminbound
Identity provider (Entra ID / LDAP)Single sign-on and group membership drive the permission filter applied at retrieval time.inbound
Workflow automationAnswers and drafted documents can start or complete a task in the workflow platform, with the human approval step retained. → Primavera P6 – Project Managementbi-directional
Oracle E-Business Suite / ERPPolicy answers can be paired with a read-only look-up of a contract, vendor or budget line so the officer sees rule and record together. → Oracle E-Business Suiteinbound
Business intelligenceUsage, coverage and accuracy metrics are exported to the entity's BI platform for management reporting. → Business Intelligenceoutbound
Tender and contract repositoriesThe same index supports procurement-specific assistants for requirement extraction and compliance checking. → AI Tender Analysis & Bid Evaluation Supportinbound

Industry use cases

Ministries and federal entities

Officers ask which circular currently applies to a case and receive the answer with the circular number, issue date and superseded status.

Municipalities

Licensing and permit staff query building regulations and internal procedures in Arabic, with citations to the exact clause.

Procurement departments

Buyers check contract conditions, thresholds and approval routes against the entity's own procurement manual before raising a case.

Utilities and infrastructure operators

Engineers query design standards, method statements and equipment manuals from the field without calling head office.

Corporate shared services

HR and finance answer repetitive policy questions from staff, reducing ticket volume while keeping the authoritative document in charge.

UAE & GCC considerations

For UAE and GCC government entities the deciding factors are usually residency, language and procurement structure rather than model quality. Documents classified under national or emirate-level information-security policy cannot be processed by a service whose infrastructure sits outside the country, which rules out most public AI offerings and makes on-premise or UAE-region private cloud the default. Arabic is not an optional feature: source documents, questions and answers are frequently in Arabic, and scanned Arabic archives need OCR that is tested rather than assumed. Procurement typically expects a proof of concept on real documents, a written security architecture, source code and model weights held by the entity, and a hand-over that leaves the internal team able to re-index and re-evaluate without the vendor. Swedish Technology delivers in both languages and has experience with on-premise, private-cloud and air-gapped deployments across the UAE, Saudi Arabia, Qatar, Oman, Kuwait and Bahrain.

Implementation approach

  1. 1
    Discovery (1-2 weeks) Identify the user group, the document set, the classification levels involved and twenty to fifty real questions staff actually ask. This becomes both the scope and the test.
  2. 2
    Security architecture Agree deployment mode (on-premise, private cloud, air-gapped), identity model, permission inheritance, logging and retention with the information-security team before any build.
  3. 3
    Ingestion and OCR baseline Connect one repository, run OCR on a representative sample of scanned and native documents, and measure extraction quality. Poor OCR is the most common silent cause of poor answers.
  4. 4
    Proof of concept (4-6 weeks) Build the retrieval pipeline and interface on the agreed scope, run the evaluation question set, and report measured accuracy, refusal behaviour and latency.
  5. 5
    Pilot with a real department Twenty to fifty users for four to eight weeks, with a feedback button on every answer and a weekly review of unanswered or wrong answers.
  6. 6
    Hardening and integration Add remaining repositories, tighten guardrails, integrate workflow and reporting, complete penetration testing and load testing at realistic concurrency.
  7. 7
    Roll-out and training Bilingual user guidance on what the assistant may and may not be used for, administrator training on re-indexing and evaluation, and a published escalation path.
  8. 8
    Operate and re-evaluate Scheduled re-indexing, quarterly evaluation runs, model upgrade assessments, and a documented rollback to the previous index and model version.

Security & deployment

The assistant runs entirely inside the entity's boundary: model weights, index, application and logs on your infrastructure, with no outbound calls at inference time. Users authenticate through the existing identity provider and retrieval is filtered by their group membership and the source document's access control list, so the assistant can never widen access. Prompts and outputs pass through guardrails for prompt injection, sensitive-data patterns and out-of-scope requests, and every interaction is logged with the retrieved source identifiers for audit. Administrative actions such as re-indexing, changing prompts or replacing a model are privileged, versioned and reversible. For classified environments the entire stack is delivered air-gapped, with signed offline update bundles and a documented media-transfer procedure.

Limitations & prerequisites

  • The assistant is only as good as the documents indexed. If policy is held in people's heads, in email threads that are not ingested, or in unreadable scans, the answer will be incomplete regardless of the model.
  • OCR quality on old scanned Arabic documents, faxes and stamped pages is the single biggest constraint; some archives need re-scanning or manual correction before they are usable.
  • Grounded generation reduces fabrication but does not eliminate it. Answers on legal, financial or safety matters must be verified against the cited source before action, and the interface should make that easy rather than optional.
  • Numerical reasoning across many documents (totals, comparisons across hundreds of contracts) is unreliable in a language model and should be handled by a query against structured data instead.
  • Running open-weight models on-premise requires GPU capacity, power and cooling, plus staff who can operate it; concurrency targets drive hardware cost more than model choice.
  • Permission inheritance depends on the source system having correct permissions today. Existing over-sharing in a document repository becomes visible quickly once search works well.
  • Model and framework versions move fast; budget for a periodic upgrade assessment and re-evaluation rather than assuming a fixed system for five years.

On-premise RAG vs public AI service vs fine-tuned model

The three approaches solve different problems and have very different governance profiles.

CriterionOn-premise RAGPublic AI serviceFine-tuned model (no retrieval)
Where documents goStay inside your networkLeave the entity's controlAbsorbed into model weights
Suitable for classified dataYes, including air-gappedGenerally not permittedOnly if trained and hosted internally
Citations to sourceYes, per statementPartial, depends on serviceNo reliable source trail
Updating knowledgeRe-index; minutes to hoursNot under your controlRetraining; weeks and cost
Respects document permissionsYes, filtered at retrievalNo concept of your ACLsNo, knowledge is baked in
Up-front costGPU hardware and integrationLow subscriptionHigh training and data cost
Ownership at hand-overWeights, index, code and promptsNothingModel artefact only
Typical time to first value6-10 weeksDays3-6 months

For most government use cases retrieval is the right default, with fine-tuning considered later and only for style, terminology or a narrow classification task.

FAQ

Four things: GPU capacity sized to the number of concurrent users, the quality and volume of documents to be ingested (scanned Arabic archives cost far more to prepare than clean native files), the number of source systems to connect, and the depth of security review and documentation required by the entity. Model licensing is usually not a cost driver when open-weight models are used.

A scoped proof of concept on one document set typically takes four to six weeks including discovery. A pilot with a real department follows in another six to eight weeks. A full multi-repository roll-out with security testing and training is usually four to seven months from start.

Yes. Open-weight models, the vector index and the application all run without internet access. Updates to models, containers and dependencies are delivered as signed offline bundles through your controlled media-transfer process, and the deployment includes the procedure for doing that safely.

There is no training-set requirement, which is the practical advantage of retrieval. A few hundred documents are enough to be useful. What you do need is roughly twenty to fifty real questions with agreed correct answers, so accuracy can be measured rather than debated.

Accuracy is measured against your own evaluation set, not a public benchmark, and is reported as retrieval hit rate, answer correctness judged by your subject-matter experts, and refusal rate on out-of-scope questions. Well-prepared document sets commonly reach a level where the assistant is trusted for lookup and drafting, while decisions remain with the officer. Any vendor quoting a single accuracy percentage before seeing your documents is guessing.

No, if it is built correctly. Permissions are attached to each indexed passage and applied as a filter during retrieval, before anything reaches the model. Access is verified against the identity provider at query time, and the audit log records which sources were used for each answer.

Through a read connector that pulls documents, metadata and permissions on a schedule or on change events, and deep links that return the user to the original record. The document system remains the system of record; the assistant holds an index, not a second copy of the truth.

You do. Model weights, index, source code, prompt templates, evaluation set and documentation are handed over, together with training for your team on re-indexing, evaluation and model replacement. Swedish Technology can continue under a support agreement, but the system must be operable without us.

Want to test this on your own documents first?

Send us a description of one document set and ten real questions your staff ask. We run a scoped proof of concept inside your environment and report measured accuracy, gaps and effort before anything is procured.

Request a RAG Proof of Concept

+971 56 404 6555 · info@swedishtechnology.com

Sources & evidence

  1. NIST — AI Risk Management Framework (AI RMF 1.0) — governance and risk structure for AI systems
  2. ISO/IEC 42001:2023 — Artificial intelligence management system
  3. OWASP — Top 10 for Large Language Model Applications — prompt injection and data-leakage controls
  4. ISO/IEC 27001 — Information security management systems

Vendor and product names are trademarks of their respective owners; references are for technical context and do not imply partnership, certification or endorsement unless stated on the vendor's official pages.

Call WhatsApp