Lirevon
ServicesWorkIndustriesPricingAboutContact
العربية
Book a free audit
Loading
Lirevon

A creative + AI studio in Lahore, building brands, websites and AI consoles for the Gulf.

Lahore, Pakistan

Studio

About
Work
Pricing
Contact

Services

Brand & logo
WordPress
Web apps
AI consoles
Mobile apps
Content & video

Industries

Clinics
Restaurants
Real estate
Retail
Professional services

Resources

  • Blog
  • Tools
  • Automations

Explore

Work
Solutions
Answers
Locations
Glossary
Explore All

Start a project

  • hello@lirevon.com
  • WhatsApp
  • Book a call

© 2026 Lirevon. All rights reserved.

PrivacyTerms
LinkedInInstagramBehance

Work / Sulwan Legal Knowledge Base

All work

Knowledge retrieval

Sulwan Legal Knowledge Base

Client:Commercial & arbitration law firm (45 lawyers) · Abu DhabiYear:2025Industry:Commercial & arbitration lawDuration:13 weeks
  • knowledge
  • legal
  • uae

Overview

Directus-backed bilingual knowledge base exposing 2,400 UAE commercial law documents, ADGM precedents, and internal matter templates — with AI search, citations, and role-scoped access — cutting junior lawyer research time from 3 hours to 22 minutes.

The challenge

Junior associates spent 3+ hours per research task hunting through Westlaw, a shared network drive with 2,400 unsearchable PDFs, and emailing senior partners for precedents. Supervisor interruption was constant — partners estimated 40% of their day was answering research questions that should have been self-served. A PII-safe, on-premise solution was a hard requirement given client-confidentiality obligations.


The solution

Our approach

We deployed Directus as the document CMS and content API on the firm's on-premise VMware infrastructure, loading 2,400 documents with bilingual metadata. We extended Directus with a custom pgvector indexing extension that embeds chunks of each document into PostgreSQL and serves a semantic-search API consumed by a Next.js knowledge portal. Gemini was used solely for re-ranking search results and generating citation excerpts — with a firewall rule ensuring no document content left the on-premise network.


Outcomes

What we delivered

Junior lawyer research time from 3 hours to 22 minutes average

Partner supervision interruptions related to research down 58%

100% of documents PII-safe and on-premise — passed the firm's information-security audit

2,400 documents now searchable in Arabic and English with AI-generated citation excerpts


Key metrics

3h → 22minResearch time per task
−58%Supervisor interruptions
2,400Documents searchable
100% on-premiseInfoSec compliance

Tech stack

  • Directus (self-hosted)
  • Next.js 15
  • PostgreSQL
  • pgvector
  • Gemini
  • Docker

Services

  • Directus on-premise deployment & pgvector extension
  • 2,400-document bilingual metadata ingestion
  • Next.js semantic search portal
  • Gemini citation-excerpt integration (on-premise firewall)
  • Role-scoped access design (associate, senior, partner, IT)

Client testimonial

“My senior partners were spending almost half their day answering questions that are now answered by the portal in seconds. It has genuinely changed what it means to be a junior here.”

— Managing Partner, Sulwan Legal · Abu Dhabi


Related work

More in this category

Commercial & corporate law firm · Riyadh

Midad Legal Consultancy

Arabic-first precedent and regulatory-lookup assistant grounded in 380 Saudi Commercial Court judgments, Vision 2030 regulatory circulars, and SAMA guidelines. Case-research time drops from 3 hours to 18 minutes; junior-associate billable utilisation rises 31%.

  • knowledge
  • legal
  • saudi

Result:Case research 3h → 18min; junior billable utilisation +31%

View project

British-curriculum school group (4 campuses) · Riyadh

Rawabi International Schools

Arabic-first internal KB for 280 teaching and administrative staff, grounded in school policies, IGCSE marking schemes, and ADEC inspection frameworks. New-teacher induction time falls from 4 weeks to 9 days; policy-query tickets drop 73%.

  • knowledge
  • education
  • saudi

Result:Teacher induction 4 wk → 9 days; policy tickets −73%

View project

Commercial law · Karachi

Habib & Associates

Precedent search and brief generator over 50 curated docs with PII pre-classifier. Precedent search 45min → 90s; brief 4h → 35min.

  • knowledge
  • legal
  • precedent

Result:Precedent search 45min → 90s; brief 4h → 35min

View project

Let's build something that ranks — and runs itself.

Book a free 30-minute audit, or message us on WhatsApp. We'll send a fixed-price proposal in two days.

Book a free 30-min auditWhatsApp us