Add financial services compliance guardrails notebook (FCA / MiFID II / GLiNER PII) - #2216
Open
priyanka25aug wants to merge 1 commit into
Open
Conversation
Author
|
@drazvan — hi, this PR adds the financial services compliance notebook discussed in issue #2193. it covers GLiNER PII detection, MiFID II topic control via NIM, FCA COBS 4 disclaimer enforcement, and a Consumer Duty / SR 11-7 audit trail — all in a single self-contained notebook with 5 runnable scenarios. happy to make any adjustments to placement, style, or scope based on your feedback. would appreciate a review when you get a chance! |
priyanka25aug
force-pushed
the
feat/financial-services-compliance-notebook
branch
from
July 23, 2026 23:22
5f22c0a to
6fd2bc8
Compare
…LiNER PII) Addresses NVIDIA-NeMo#2193 - GLiNER-based PII detection: IBAN, sort code, account number, NI number - MiFID II Art. 25 topic control via NIM nemoguard-8b-topic-control - FCA COBS 4 disclaimer enforcement - Consumer Duty / SR 11-7 audit trail - 5 test scenarios with assertions - No external API keys required for pattern tests; NIM endpoints swappable
priyanka25aug
force-pushed
the
feat/financial-services-compliance-notebook
branch
from
July 23, 2026 23:26
6fd2bc8 to
622a75a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2193
What this adds
A runnable notebook (
examples/notebooks/financial_services_compliance/financial_services_compliance_guardrails.ipynb) demonstrating how to build a financial services compliance guardrail stack using NeMo Guardrails, targeting FCA, MiFID II, and Consumer Duty regulated environments.Guardrail layers
iban,sort_code,account_number,credit_card_number,national_insurance_numbernvidia/llama-3.1-nemoguard-8b-topic-control— blocks non-financial advice topicsnvidia/llama-3.1-nemotron-safety-guard-8b-v3— harmful content filterScenarios covered
Key design decisions
ChatOpenAI/ChatAnthropicRailsConfig.from_content()— config is inline in the notebook, no external YAML files needed to runassertstatements for CI-friendlinessRelated issue
Addresses #2193 — financial services compliance notebook for NeMo Guardrails examples.
Checklist
examples/notebooks/financial_services_compliance/This contribution was developed with AI assistance.