ZTABS builds RAG systems for Doha enterprises working with complex document corpora in energy, government, legal, financial services and construction sectors. Qatar's energy sector centred around QatarEnergy generates massive Arabic-English bilingual operational documentation. Qatar law provides the legal framework with Law 13/2016 data protection provisions and QFC separate controller/processor requirements. Arabic-English bilingual retrieval requires specialised handling of Arabic morphology, diacritics and right-to-left text processing. ZTABS is remote-first by design from our Houston, Texas office.
Doha's rapid economic diversification creates RAG demand across energy, financial services, government, construction and education. The National Planning Council, which replaced the PSA in 2024, operates with the National Statistics Centre within its secretariat (not the National Payments Company). NAPS handles the National ATM and POS Switch. NCSA cybersecurity framework, QFC data protection and QFZ free zone requirements add layers of regulatory complexity.
RAG development in Doha at a glance
| Need | What we build | Key requirement |
|---|
| Energy operations | QatarEnergy documentation retrieval | Arabic-English technical bilingual |
| Government | Policy and legal document search | Arabic morphology, Law 13/2016 |
| Financial services | QFC compliance retrieval | QFC data protection |
| Construction | Project documentation search | Contractor and subcontractor access |
| Legal research | Qatar law retrieval | Arabic legal terminology |
QatarEnergy operations documentation
Qatar energy sector companies need RAG for operational knowledge management.
Operations documentation retrieval. Process specifications, safety procedures, maintenance records, equipment manuals and operations logs indexed with energy sector metadata. Well data, production records, processing plant documentation and pipeline specifications searchable. Arabic operational documentation with English technical standards and equipment specifications handled by bilingual processing.
Safety and compliance. HSE documentation, incident investigation reports, safety audit findings and regulatory compliance records indexed. Cross-reference between safety requirements and operational procedures. Emergency response documentation searchable by scenario type and facility.
Engineering knowledge. Detailed engineering design documents, piping and instrumentation diagrams, technical specifications and modification records indexed. Equipment type, facility, system and modification category searchable. Version tracking across engineering change management.
Contractor knowledge management. Contractor submissions, technical proposals, performance records and compliance documentation indexed. Contractor qualification and pre-qualification documentation searchable. Project-specific contractor documentation access controls.
Building a RAG system for your Doha energy operations?
Tell us about your operational documentation corpus, Arabic-English bilingual requirements and QatarEnergy compliance scope. We start with a data audit covering document formats, terminology complexity and access patterns.
Qatar government and legal retrieval
Doha government entities and law firms need RAG for Qatar law and policy documentation.
Qatar law retrieval. Qatar laws, Emiri decrees, ministerial decisions and regulatory provisions indexed with section-level granularity in Arabic and English. Law 13/2016 personal data protection provisions searchable. Qatar Civil Code and Commercial Code with case law references.
Government policy. Ministry policy documents, national strategy papers and planning documents indexed. National Planning Council (which replaced PSA 2024) publications with National Statistics Centre data. Cross-ministry search enables policy coordination and research.
Arabic legal terminology. Arabic legal terminology with specific meanings in Qatari legal context. Classical Arabic legal terms alongside modern statutory language. Sharia-derived commercial law concepts in contemporary legal framework.
Legislative monitoring. New Emiri decrees, ministerial decisions and regulatory changes tracked. Version control surfaces amended provisions. Regulatory change alerts for compliance-sensitive organisations.
Financial services compliance
QFC data protection. QFC controller and processor establishment requirements for entities within QFC jurisdiction. QFC Data Protection Regulations with specific provisions for processing, transfer and breach notification. RAG systems serving QFC entities implement QFC-specific data protection requirements.
QFCRA and QFC regulatory. Qatar Financial Centre Regulatory Authority provisions indexed. QFC banking, insurance and financial services regulations searchable. Cross-reference between QFC regulations and applicable international standards.
NAPS payment infrastructure. NAPS (National ATM and POS Switch) documentation for payment processing. This is the national payment switching infrastructure, distinct from the National Planning Council. RAG covering NAPS procedural and compliance documentation.
Arabic-English bilingual retrieval
Arabic morphological processing. Arabic root-pattern morphology with trilateral and quadrilateral roots. Diacritics (tashkeel) handling for precision in legal and technical text. Arabic tokenisation accounts for clitics, prefixes and suffixes attached to base words.
Arabic OCR. Legacy paper documents in Arabic require OCR with Arabic-specific character recognition. Arabic OCR quality varies by document quality, font and handwriting. Ingestion pipeline includes quality assessment for OCR accuracy on Arabic documents.
Cross-lingual embedding. Arabic and English documents encoded in shared semantic space. Energy sector queries in English retrieve relevant Arabic operational documents. Government queries in Arabic retrieve relevant English technical standards and international references.
Right-to-left handling. Arabic right-to-left text mixed with left-to-right English numbers, codes and technical terms. Display and processing handle bidirectional text correctly. Citation formatting respects Arabic text direction.
NCSA cybersecurity compliance
NISCF and NIA. NCSA is the current national cybersecurity authority with NISCF (National Information Security and Compliance Framework) and NIA (National Information Assurance) provisions. RAG systems implement cybersecurity controls within applicable NCSA tier. Compliance tier depends on organisation classification.
Cloud security. Azure Qatar Central in Doha provides in-country cloud hosting. AWS nearest region is Bahrain, outside Qatar. Data residency requirements may require Qatar-based hosting for sensitive government and energy data.
Information classification. Qatari government information classification levels. RAG access controls respect classification requirements. Energy sector data classification for sensitive operational information.
QFZ free zone operations
QFZ jurisdiction. Qatar Free Zones operate at Ras Bufontas and Umm Alhoul. QFZ entities have specific licensing, employment and regulatory requirements. RAG systems serving QFZ entities consider QFZ framework alongside Qatar national requirements.
Cross-jurisdiction. QFZ, QFC and mainland Qatar each have regulatory frameworks. RAG serving entities across jurisdictions correctly maps applicable regulatory requirements.
Source ingestion and retrieval architecture
Ingestion provenance. Every document tracked from source through parsing, chunking and embedding. Energy operational documents with facility and equipment metadata. Legal documents with statutory versioning. Government documents with ministry and date context.
Hybrid search. BM25 for exact terms (law numbers, equipment tag numbers, contract references, well identifiers) combined with bilingual Arabic-English semantic search. Arabic morphological root matching alongside exact term search. Reranking evaluated on Arabic and English retrieval quality.
Chunking strategy. Energy documents chunked by system, equipment and procedure step. Legal documents chunked by article preserving statutory cross-references. Government policy chunked by topic and recommendation. Arabic text chunk sizing accounts for Arabic information density.
Security and access control
Qatar data residency. RAG infrastructure deployed in Qatar where required. Azure Qatar Central in Doha available. Data residency requirements for government and energy sector data. NCSA cybersecurity framework compliance.
Energy operations security. Operational data access controls by facility, system and security classification. Contractor access restricted by project scope and authorisation. Engineering IP with strict access boundaries.
Prompt injection defence. Retrieved documents can contain adversarial content. Arabic-English bilingual text injection may exploit language boundary handling. Arabic diacritics manipulation potential. Retrieved text is evidence, not permission or instructions.
Evaluation and quality
Held-out real task evaluation. Quality measured on actual user tasks. Energy evaluation includes operational documentation queries. Legal evaluation includes Qatar law research. Government evaluation includes policy search. Arabic language quality specifically evaluated on Arabic retrieval tasks. No invented benchmark accuracy percentages.
Citation fidelity. Citation presence and retrieval score are not proof of truth, completeness or calibrated certainty. Legal citation accuracy includes law number, article, amendment date and Emiri decree reference.
Read-only retrieval versus action tools
Energy and government RAG primarily provides read-only retrieval. If RAG extends to action tools such as safety alert dispatch, compliance notification generation or contractor communication, each action requires actual approved tool, tenant and object rights. Revocation procedures, action caps, receiving-system idempotency, unknown outcome reconciliation and human approval requirements apply. Human approval before safety-critical actions in energy operations.
Not every question needs vector search
Simple law number lookups, exact equipment tag searches and straightforward contract reference queries perform well with keyword search. Vector semantic search adds value for conceptual legal queries, cross-facility operational analysis and Arabic-English bilingual retrieval. Architecture routes queries appropriately.
Illustrative Example
Hypothetical: Doha energy company building operations knowledge RAG
A Doha energy services company with 2,800 employees across three operational facilities has 420,000 operational documents including process specifications, safety procedures, maintenance records, engineering change notices and contractor documentation in Arabic and English.
RAG development would implement bilingual Arabic-English retrieval with energy sector metadata. Facility-level and equipment-level search enables targeted documentation retrieval. Safety documentation cross-referenced with incident history. Contractor documentation access controls by project scope. NCSA cybersecurity framework compliance with Qatar-hosted infrastructure.
Assumptions: operational DMS accessible through APIs, Arabic documents in digital format with limited legacy OCR needs, operations engineers available for evaluation dataset creation (300 to 500 energy operations queries) and NCSA compliance framework in place. Residual risks include Arabic OCR quality for legacy documents, Arabic morphological analysis quality for specialised energy terminology, contractor document quality variation and NCSA compliance tier determination. No guarantee of specific retrieval accuracy, operational response time improvement or safety documentation access speed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.
Need help scoping your Arabic-English knowledge platform?
Share your operational documentation scope, Arabic-English bilingual requirements and NCSA compliance needs. We provide a scoped estimate based on actual document volume and Qatar's regulatory landscape.
Cost and timeline
RAG system development follows the published cost guide.
| Tier | Range | Timeline | Example |
|---|
| Basic / MVP | $15K to $40K | 4 to 8 weeks | Simple document Q&A |
| Mid-Range | $40K to $100K | 8 to 18 weeks | Bilingual hybrid search |
| Advanced | $100K to $150K | 18 to 28 weeks | Multi-corpus with evaluation |
| Enterprise | $150K to $200K+ | 5 to 8 months | Multi-tenant NCSA-compliant |
Vendor comparison
Ranges reflect a production RAG system over a ~10K document corpus: multi-format ingestion, hybrid search, re-ranking, source citations, auth, admin panel and evaluation pipeline.
| Vendor type | Typical cost | Timeline | Tradeoff |
|---|
| Freelancer / AI generalist | $8K to $30K | 4 to 10 weeks | Variable Arabic quality, eval often missing |
| Offshore AI agency | $18K to $55K | 8 to 16 weeks | Comfortable with frameworks, weaker on Qatar domain |
| ZTABS | $45K to $130K | 6 to 14 weeks | Remote-first by design, hybrid search and eval built in |
| Off-the-shelf platform (Glean, Vectara) | $10K to $50K setup | 2 to 6 weeks | Ceiling on Arabic language and energy domain tuning |
| Enterprise consultancy | $100K to $300K+ | 10 to 20 weeks | Enterprise capability at enterprise pricing |
How delivery works
ZTABS is remote-first by design from our Houston, Texas office.
Architecture. Data audit covering document formats, Arabic-English bilingual complexity, energy sector scope and access patterns. Architecture decisions on Arabic-aware embedding model, vector database and Qatar-hosted deployment.
Data pipeline. Multi-format ingestion with Arabic-specific parsers for energy, legal and government documents. Facility-level chunking preserving operational context. Metadata enrichment with facility, equipment type, language and document date.
Deployment. Azure Qatar Central for Qatar data residency. Self-hosted deployment where provider terms unsuitable. Containerised deployment with CI/CD pipeline.
Monitoring. Query logging with bilingual retrieval quality tracking. Arabic morphological analysis accuracy. Energy domain recall metrics. Ingestion pipeline health monitoring.
Full stack considerations
Model provider training and retention terms affect data governance. Qatar-hosted infrastructure for data residency requirements. Arabic-specific embedding model selection critical for morphological quality. Vector database hosting scales with document count. Indexes, logs, backups, SDKs, support contracts and subprocessors part of operational scope. NCSA cybersecurity framework compliance.
Construction and real estate
Doha's ongoing construction and real estate development generates extensive project documentation. Engineering specifications, contractor submissions, project management records and quality documentation indexed. Construction safety documentation with Qatar labour regulation compliance. Real estate development project documentation across multiple phases. FIFA World Cup 2022 legacy infrastructure documentation for venue and transportation facility management.
Healthcare and sports medicine
Hamad Medical Corporation, Sidra Medicine and Qatar's healthcare institutions generate clinical, administrative and research documentation. Arabic and English clinical guidelines, treatment protocols and medical literature indexed. Sports medicine documentation from Aspetar and Qatar's sports science institutions.
Education and research
Qatar University, Education City institutions and research centres generate academic and administrative documentation. Research publications, grant documentation, programme accreditation records and institutional policy documents indexed. Qatar National Research Fund documentation. Multilingual education documentation across Arabic and English programmes. Qatar Foundation institutional knowledge management.
When ZTABS is not the right fit
- Corpus under 50 documents. Standard search handles this more cost-effectively.
- Off-the-shelf platform covers the need. Use existing tools first.
- On-site embedded staff required. ZTABS is remote-first by design.
- Qatar legal advisory. ZTABS builds retrieval systems, not legal services.
- NCSA compliance consulting. ZTABS builds compliant systems, not cybersecurity advisory.
Risks and mitigations
Hallucination. RAG reduces but does not eliminate hallucination. Arabic legal hallucination can cite nonexistent law provisions. Energy safety hallucination can reference nonexistent procedures. Citation verification and evaluation pipelines measure quality. Domain expert review essential.
Arabic OCR quality. Legacy Arabic documents may have poor OCR quality. Quality assessment before ingestion. Manual correction for critical documents where OCR accuracy insufficient.
Arabic morphology. Arabic root-pattern morphology creates retrieval challenges for specialised terminology. Evaluation on actual Arabic domain queries critical.
Cloud hosting limitations. AWS not available in Qatar. Azure Qatar Central is the primary hyperscaler option. Self-hosted deployment available for organisations requiring specific hosting arrangements.
Ready to build your Doha RAG system?
Share your document types, Arabic-English bilingual needs and NCSA compliance requirements. We scope the architecture and identify the highest-value corpus to pilot.