Qwen3 4B Instruct
- Writes answers from the retrieved passages
- Helps interpret unclear spoken answers in request forms
- Chooses which admin tool fits a staff request
How the website, the admin panel and the local AI models work together, explained without the jargon.
One Laravel application serves both the public website and the admin panel. It keeps its data in MySQL, runs its AI on local models, and connects to the library's existing systems instead of replacing them.
The website, the admin panel and the AI engine share one codebase, so a page edited by staff is live for users at once.
The AI models run on the library's own server. Their network has no internet access.
The catalogue, the databases and the repositories remain the source of truth. The website routes users to them.
Two open models run in Ollama on the library server. Both were chosen through the team's own evaluation on library questions.
Both models are kept loaded in memory and run on the server's processor. No graphics card is required.
Staff can ask the agent to find information or prepare a change, such as adding a database or editing a page. The model can never save anything itself.
A signed-in staff member describes what they need in their own words.
A personThe agent looks up website data through a database account that can only read.
Local AI modelIt shows the exact change: current and proposed values, English and Arabic side by side.
Application codeOnly the staff member's own click on Save applies the change, once, within 30 minutes.
A personLaravel checks permissions again, writes the change as a new version and logs it.
Application codeText written by website visitors can never trigger a change. Deleting is limited to content that goes to a Recycle Bin and can be restored.
Established, well-documented tools that the University's IT team can run and extend.
Blade templates render every page on the server. Reports can be downloaded as PDF or Excel. The project also documents deployment on Windows Server with IIS.
Protection is built into the structure of the system, not added on top.
The website is the front door. The library's existing systems remain the source of truth behind it.
| System | Used for | How it connects |
|---|---|---|
| EBSCO search | “All Resources” search | The search is sent to the library's EBSCO search page |
| Medad portal | “Printed Books” search | The search is sent to the library's Medad catalogue portal |
| UOB Digital Repository | Repository search | The search is sent to the repository's own search |
| UOB Scholar (DSpace) | “Latest Research” on the homepage | Public REST API, cached for an hour, with the last good list shown if the service is down |
| Academic databases | Databases by college | The system's own directory, linking to each provider's website |
The demo tours the website, the Library AI Agent and the admin panel.