Skip to content
Janeiro.aiAcquire ↗
Pattern

Jurisdiction Filters Before You Rank

Separate source applicability, user entitlement and semantic relevance before ranking documents, with an explicit fallback when no permitted source answers.

Updated 2 min read

Similarity is not permission and language is not jurisdiction. A retrieval service should enforce the user's source entitlements and the workflow's applicability rules before returning passages for an answer.

Put applicability in the inventory

Give each source an owner, version, market or policy scope and access rule. Domain specialists must determine applicability; the model should not infer the governing rule from the language of a document.

For cross-border personal-data questions, the ANPD's transfer guidance is a primary reference to take to the responsible privacy team. This engineering pattern does not determine a lawful transfer mechanism or provide a legal conclusion.

Refuse the convenient substitution

Filter to the authorised set first, then rank within it. If nothing in that set supports the requested answer, return an evidence gap or referral. A document from another market may be useful background, but should not silently become the basis of an operational decision.

Test a high-similarity wrong-scope document, an outdated version and a document the current user cannot access. Check both retrieval results and the answer's cited source. Keep test material synthetic or explicitly authorised.

Connect the controls

Use regional retrieval for the source contract and the multilingual kit for a small test scaffold. Document who owns applicability decisions in the corridor evidence inventory.

What to do next

  • Save the acceptance rule, source versions and limits before testing.
  • Use the linked implementation and review tools to record what actually happened.
raglgpdarchitecture

Published by . Original editorial for operators. How this was made