docs: add a Presidio sample for AISIX AI Gateway - #2257
Merged
omri374 merged 2 commits intoSep 16, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The documentation changes were fully reviewed and have no unresolved blocking issues.
Pull request overview
Adds a self-contained documentation sample integrating Presidio with AISIX AI Gateway for PII masking, blocking, and fail-closed behavior.
Changes:
- Adds AISIX and Presidio setup instructions.
- Documents verification and private networking.
- Updates the samples index and navigation.
File summaries
| File | Summary |
|---|---|
mkdocs.yml |
Adds the sample to documentation navigation. |
docs/samples/index.md |
Adds the sample to the index. |
docs/samples/docker/aisix.md |
Adds the AISIX integration guide. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Change Description
Add a self-contained documentation sample showing how to use Presidio Analyzer and Anonymizer as an input guardrail for the open-source AISIX AI Gateway.
The sample covers:
It also adds the sample to the documentation index and navigation. This is a documentation-only contribution and changes no Presidio runtime behavior.
Validation completed with AISIX 1.2.0 and Presidio 2.2.364 against a local mock provider. Email masking, SSN blocking, and fail-closed behavior were reproduced. The repository's Zensical documentation build also passed locally.
Disclosure: I work at API7.ai, which maintains AISIX. AISIX is an Apache-2.0-licensed independent open-source project and is not an Apache Software Foundation project.
Issue reference
N/A — the contribution guide accepts self-contained samples directly.
Checklist