ServicesWorkWhy usProcessBook a free call →

Silat Technologies / AI product case study

World
Regulations RAG.

A jurisdiction-aware regulatory intelligence platform engineered by Silat Technologies with Python and the Claude API. It turns fragmented global rules into grounded, traceable answers for compliance research.

Regulatory intelligence / Research modeWorld Regulations RAG / Minimized

Research question

What disclosures apply to virtual-asset marketing across selected jurisdictions?

Grounded modeUAEEuropean UnionSingapore

Requirements vary by regulator, audience, and communication channel. The system separates shared obligations from jurisdiction-specific controls:

  • Present risk statements prominently and avoid claims that imply guaranteed returns. [UAE-01]
  • Keep promotional content fair, clear, and consistent with applicable product disclosures. [EU-02]
  • Apply market-specific consumer-protection restrictions before publication. [SG-01]
UAEVirtual-asset marketing rules and guidanceDense + lexical
EUMarkets in Crypto-Assets regulatory frameworkMetadata match
SGDigital payment token consumer-protection measuresRe-ranked

Jurisdiction filter

Passed

Citation coverage

Passed

Unsupported claims

None flagged

Review state

Human verification

● Context assembledGrounded in retrieved regulatory sources

Project type

Regulatory intelligence platform

Delivery

End-to-end AI product engineering

Core stack

Python, Claude API, FastAPI, vector search

Quality focus

Retrieval, citations, temporal accuracy

01 / The system

Research, not guesswork.

The product treats every legal answer as an evidence pipeline rather than a single model call.

Global regulation is fragmented by jurisdiction, regulator, document type, and time. The RAG makes that complexity searchable.

The platform ingests regulatory material from multiple markets, preserves the legal metadata that gives each passage meaning, and retrieves the right evidence before Claude writes an answer.

The key engineering decision was to make jurisdiction, regulator, instrument, publication date, and effective date first-class retrieval fields. That prevents a semantically similar rule from the wrong market or the wrong point in time from silently contaminating an answer.

01

Evidence before generation

Claude receives a deliberately assembled evidence pack, not unrestricted access to the entire corpus.

02

Legal-aware retrieval

Semantic similarity is combined with exact jurisdiction filters, lexical signals, and re-ranking.

03

Traceable outputs

Every material claim is designed to map back to a source, passage, and document version.

02 / Architecture

The evidence pipeline.

Six focused stages turn a shifting regulatory corpus into reviewable intelligence.

World regulations RAG / System map

Citation-first path

Stage 01

Source acquisition

Collect regulatory pages, circulars, consultation papers, guidance, and PDFs from authoritative sources.

Connectors · Jobs · Versioning

Stage 02

Parse & normalize

Extract clean text, retain headings and tables, remove navigation noise, and standardize document structure.

Python · Parsers · OCR fallback

Stage 03

Legal chunking

Split by article, section, and semantic boundary while inheriting jurisdiction and document metadata.

Structure · Overlap · Metadata

Stage 04

Hybrid retrieval

Combine dense vector search, keyword relevance, metadata constraints, and document diversity.

Embeddings · BM25 · Filters

Stage 05

Claude synthesis

Build a bounded evidence pack and ask Claude to compare, qualify, cite, and abstain when evidence is weak.

Claude API · Structured output

Stage 06

Answer & audit

Return structured conclusions, inline citations, source excerpts, and review metadata through the API.

FastAPI · Schemas · Logs

The model is one layer, not the system.

Retrieval, filtering, context construction, validation, and observability do most of the reliability work around the LLM.

Every stage is debuggable.

A weak answer can be traced to ingestion, metadata, retrieval, ranking, prompting, or citation mapping instead of being treated as an opaque failure.

03 / API engineering

Claude behind a contract.

A typed Python service turns model capability into a predictable application interface.

POST /v1/regulatory/research
# Python client request
payload = {
  "question": "Compare marketing controls",
  "jurisdictions": ["AE", "EU", "SG"],
  "as_of": "2026-07-01",
  "answer_mode": "comparative",
  "citations": True
}

result = client.post(
  "/v1/regulatory/research",
  json=payload,
  timeout=60
)

# Validated response schema
{
  "answer": "...",
  "jurisdiction_findings": [...],
  "citations": [...],
  "review_flags": []
}
01

Typed inputs

Pydantic validation rejects ambiguous jurisdiction codes, invalid dates, and unsupported answer modes before retrieval begins.

02

Bounded model calls

The service sends Claude only ranked evidence and explicit output rules, with timeouts, retry policy, and token budgets controlled in Python.

03

Structured responses

Applications receive stable fields for findings, sources, confidence signals, and review flags instead of a blob of unpredictable prose.

04

Operational visibility

Request IDs connect API latency, retrieval traces, model usage, citations, and failures across the full execution path.

04 / Retrieval

Similarity is not enough.

Legal relevance depends on where, when, who, and under which instrument a passage applies.

Metadata narrows the legal universe before ranking begins.

The retriever first constrains the corpus with deterministic legal context. Dense and lexical results are then fused, re-ranked, and diversified so one long document cannot crowd out every other authority.

  • JurisdictionExact / regional scope
  • RegulatorIssuing authority
  • InstrumentRule · guidance · consultation
  • TimePublished · effective · superseded
  • DomainLicensing · AML · marketing

Illustrative retrieval trace

Fusion + re-rank
01Marketing communication requirementsUAE · Rule · Current
02Crypto-asset communications frameworkEU · Regulation · Current
03Consumer-protection expectationsSingapore · Guidance · Current
04Risk statement and disclosure controlsUAE · Guidance · Current
05Cross-border promotion considerationsComparative · Analysis · Secondary
Deterministic filtersDense + keywordDiversity pass
05 / Trust layer

Designed to know its limits.

The answer contract makes uncertainty and evidence quality visible to the reviewer.

Control 01

Citation coverage

Material claims must point to retrieved passages. Unsupported statements are removed or marked for review.

Claim → source

Control 02

Temporal awareness

Effective dates and superseded versions stay attached to chunks so historical rules do not masquerade as current.

As-of date

Control 03

Abstention path

If evidence is thin, conflicting, or outside the selected scope, the system says so instead of completing the gap.

No-answer mode

Control 04

Human review

Source excerpts, document links, and review flags keep a qualified person in control of the final interpretation.

Decision support
06 / Evaluation

Quality at every layer.

RAG evaluation separates retrieval failures from answer failures so improvements are targeted.

Retrieval evaluation

A curated set of regulatory questions tests whether the correct authority and passage reach the context window across markets and document types.

Relevant passage found in top resultsRecall@K
Correct authority ranked earlyMRR
Results cover required jurisdictionsCoverage
Superseded documents excludedTemporal

Answer evaluation

Generated answers are reviewed against the retrieved evidence and the actual research intent. Fluency alone is not the score.

GroundingEvidence check

Does every conclusion follow from a cited passage?

CompletenessScope check

Were all requested jurisdictions and sub-questions addressed?

Citation precisionAttribution

Does each citation support the exact sentence it follows?

Calibrated uncertaintySafety

Does the answer qualify conflict, ambiguity, and missing evidence?

07 / Delivery

Built as a complete product.

One engineering team owned the path from data ingestion to the API boundary and the final answer experience.

Silat Technologies connected regulatory data to a reliable AI product.

The delivery combined backend engineering, information retrieval, context design, data modeling, evaluation, and production safeguards. The result is a domain-specific research system with an LLM inside it, not a chatbot wrapped around unstructured content.

LanguagePython
LLMClaude API
ServiceFastAPI + Pydantic
RetrievalHybrid search + re-ranking
DataEmbeddings + legal metadata
ReliabilityEvaluation + observability

Complex AI needs
evidence by design.

Silat Technologies builds domain-specific AI systems around trusted data, clear application contracts, and outputs that teams can inspect before acting.

Discuss an AI project