A pharmacy chain or a pharmaceutical wholesaler in Singapore weighing an in-house AI assistant is really asking one question: which model should run on our own servers, and how do we know before we commit to it? This is written for the operations director or head of IT at a retail pharmacy group, a wholesale distributor, or a compounding pharmacy who wants an assistant trusted with dispensing notes, supplier correspondence, and regulatory submissions, without any of it leaving the building. An on-premise LLM only earns that trust if it is chosen by testing three candidate models on the pharmacy's own documents and its own tricky cases, not by reputation.
What Singapore's data rules mean for a pharmacy's own servers
The Personal Data Protection Act 2012 (PDPA) sets out the obligations the Personal Data Protection Commission (PDPC) enforces on any organisation handling personal data in Singapore, including the dispensing records and loyalty data a pharmacy or distributor holds on its customers. Section 26 of the PDPA, the Transfer Limitation Obligation, bars sending personal data outside Singapore unless the recipient is held to a standard of protection comparable to the PDPA, under the Personal Data Protection Regulations 2021. Keep the model and the documents on servers inside the pharmacy's own premises, and a question about a customer's prescription history or a wholesaler's supplier list never crosses the border, so that particular transfer question does not arise for that processing. On generative AI specifically, the Model AI Governance Framework (IMDA and PDPC, first issued in 2019, updated in 2020) and the Model AI Governance Framework for Generative AI (30 May 2024) are guidance, not binding rules; following them does not substitute for the pharmacy's PDPA obligations. Running the model locally does not remove the duty to tell customers how their data is used, to secure the servers themselves, or to handle access and correction requests, those stay with the pharmacy, and the PDPC and the organisation's own counsel are the right contacts for any open question on a specific case. This is not legal advice.
Phase one: a test built around the questions your pharmacists actually get wrong
The first phase starts with a workshop, not a product demo. Pharmacy operations, a compounding supervisor, and the compliance lead sit down with the project team to list the tasks the assistant should help with and the ones it should never touch. From there, the team builds an evaluation set of 80 to 120 real questions with answers the pharmacy's own staff validate, including pitfall questions: dosage ranges that fall outside the assistant's remit and should be referred to a pharmacist, discontinued or recalled products, controlled substance handling, and attempts to phrase a request so it sounds like it bypasses a prescription requirement.
Three preselected open models, each licensed for commercial use, are run against this set. Pharmacists score the answers blind, without knowing which model produced which answer, so a confident tone does not win over a correct one. The same exercise checks the infrastructure: server capacity, power supply, network segmentation, and the basic security points a data protection review would raise early. Phase one ends with a report naming the recommended model, a hardware specification, the target architecture, and the schedule for phase two. It runs 2 to 3 weeks.
| What the test checks | Why it matters at a pharmacy |
|---|---|
| Accuracy on real dispensing and stock questions | Wrong answers here affect patient-facing decisions |
| Handling of pitfall and out-of-scope questions | Shows whether the model defers instead of guessing |
| Fabricated citations or sources | A false reference is worse than no answer |
| Language quality across working terminology | Staff and suppliers do not all phrase requests the same way |
| Behaviour with several pharmacists querying at once | Matches how a multi-branch group actually uses it |
Phase two: putting the chosen model to work, offline
Once the hardware specified in phase one is delivered, typically bought directly by the pharmacy from its own supplier, the second phase installs the recommended model on an architecture isolated from the internet. Access is restricted by role, so a branch pharmacist and a procurement officer do not see the same records, and every query is logged. The assistant answers from the pharmacy's own documents, standard operating procedures, formulary notes, supplier contracts, with each answer pointing back to its source. Safeguards flag anything that looks like a fabricated answer, and a separate channel lets staff report a wrong or unsafe response. The phase closes with training for the pharmacists and procurement staff who will use the system daily, and a full handover to the pharmacy's own IT lead. This stage runs 3 to 4 weeks after the hardware arrives.
Budget: what is quoted, what moves the number, and what never changes
There is no Kolonell price to quote for this project in any currency: it is quoted after a scoping call, built around the pharmacy's number of branches, document volume, and user count. Hardware is bought directly by the pharmacy from its own supplier, against the specification delivered at the end of phase one, and is never included in that quote. What moves the hardware budget is the size of the chosen model, how many pharmacists and staff query it at the same time, how much of the formulary and supplier archive needs to be indexed, whether a multi-branch network needs redundant servers, and ordinary running costs like electricity and server room cooling. Payment follows the two phases, half on order and half on delivery of each one; there is no per-query or per-user subscription on top.
When a subscription service is the smarter call
An on-premise model is not the right fit for every pharmacy. A single counter with low volumes of sensitive data, a one-off project, no staff member available to keep the system running day to day, or a need for the broad general knowledge that a large online assistant covers better: in these cases, AI tools like ChatGPT are often the simpler and cheaper choice, at least until the pharmacy's needs grow past what a subscription can safely handle.
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
FAQ
Does the evaluation set include questions our pharmacists actually get wrong today?
Yes, that is the point of building it with the compliance and operations teams rather than importing a generic test. The pitfall questions come directly from real dispensing and supplier scenarios the pharmacy flags during the phase one workshop.
Can the same model serve both a wholesaler's procurement team and a retail pharmacist?
It can, but access and the documents each group sees are configured separately during phase two, so a procurement officer and a pharmacist query the same assistant without seeing each other's records.
Who decides which of the three tested models is kept?
The pharmacy's own staff score the blind tests and the phase one report recommends a model on that basis, but the final decision to proceed stays with the pharmacy's management, not with an algorithm.
Does testing on real dispensing records create a PDPA risk during the project?
The test runs on the pharmacy's own servers under access controls agreed in advance, and the data never leaves Singapore during testing; any specific question about the PDPA should still go to the PDPC or the pharmacy's own counsel.
What happens to the evaluation set once the project is finished?
It belongs to the pharmacy, along with the data, the configurations, and the documents used to build it, and can be reused to judge any future model without starting from zero.
Let's scope your project. If a pharmacy group or distributor in Singapore wants to see how an on-premise LLM would be tested and run on its own servers, the next step is a scoping call, request a quote or reach us on WhatsApp at +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.