Case study 05 / Agents & RAG
Offline bilingual HR assistant for EVA Cosmetics
EVA Cosmetics' Policy Assistant: a fully offline assistant that answers HR-policy questions in Arabic and English from a local model, with zero cloud exposure.
01Problem
Employees needed a simple way to find HR information buried in internal documents, in either Arabic or English. The policy content was sensitive, so it could not be sent to any external or cloud service.
02Solution & architecture
- Hybrid retrieval: ChromaDB vector search catches paraphrased questions, while BM25 keyword search catches exact policy terms, numbers and department names.
- Local model: answers come from Aya-Expanse 8B served by Ollama on internal hardware, so no document or question leaves the network.
- Bilingual workflows: Arabic and English HR documents are ingested and queried in whichever language the employee uses.
- Trade-off: a local 8B model gives up some raw capability compared with a larger hosted one, in exchange for a strict no-cloud guarantee on HR data.
03Demo

Asked 'عايز اجازه' (I want leave), the assistant lists the leave types from the HR policy and cites its source.

04Results
0cloud calls
fully offline: no HR document or question leaves the network
2languages
Arabic and English HR-policy access
8B
Aya-Expanse model running locally on Ollama
05What I'd improve next
- Evaluation set: build a bilingual question set from real HR queries to measure retrieval and answer quality on every change.
- Reranking: add a local reranker after the merged ChromaDB + BM25 results to improve which passages reach the model.
- Citations: show the exact policy section behind each answer so employees can verify it.
Enterprise project. Screens and demos use mock or blurred data; no internal HR documents or employee information are shown.