Regulatory RAG & Guardrails
Audits and validates financial transactions against strict regulatory directives. Utilizes pgvector similarity search over curated RBI, FEMA, and PMLA policies with Groq LLaMA-3.1 generating exact compliant verdicts and highlighted references.
A policy engine with receipts
RegGuard is designed to keep compliance decisions inspectable: every verdict carries source chunks, confidence, and a clean escalation path for uncertain cases.
Curated Policy Corpus
Source text is split into traceable chunks with circular IDs, dates, and jurisdiction tags so answers cite the policy surface that produced them.
Verdict Guardrails
The model is constrained to COMPLIANT, NON-COMPLIANT, or NEEDS AUDIT, reducing vague language and making queue routing deterministic.
Citation Reranking
Generated responses are checked against retrieved source chunks so unsupported claims lose confidence before the result reaches an analyst.
Knowledge Base Registry
Query Configuration
Manual Override Warning: Compliance verdicts generated by RegGuard RAG are advisory. Large transactions flagged as Non-Compliant are piped into the Kafka artha.compliance.reject topic to be processed by a compliance specialist within the JPMC GCC routing queue.
How a compliance question becomes an auditable verdict
Intake
Transaction narrative, user segment, geography, amount, and channel metadata enter the compliance request.
Retrieve
pgvector similarity selects the highest-confidence policy passages for the exact regulatory context.
Synthesize
Groq-backed generation drafts a concise verdict bound to those passages and the selected threshold.
Escalate
Kafka topics route rejected or uncertain cases into manual compliance review with correlation metadata.