docs(guardrails): expand guardrails page with all validators and examples [AL-290]#1570
Merged
apetraru-uipath merged 1 commit intomainfrom Apr 17, 2026
Merged
Conversation
Contributor
Author
|
How to view locally the docs: cd /uipath-python/packages/uipath Then open http://127.0.0.1:8000/uipath-python/core/guardrails/ in your browser. |
6774300 to
9ca372d
Compare
9ca372d to
b756797
Compare
ctiliescuuipath
approved these changes
Apr 17, 2026
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.
What changed?
Rewrote
packages/uipath/docs/core/guardrails.mdfrom a single-line mkdocstrings stub into a comprehensive reference page.@guardraildecoratorPIIValidator) — 18 entity types, per-entity confidence thresholdsHarmfulContentValidator) — 4 categories, severity thresholds 0–6PromptInjectionValidator) — PRE stage onlyUserPromptAttacksValidator) — PRE stage only, no paramsIntellectualPropertyValidator) — POST stage onlyCustomValidatorwith 1-arg and 2-arg rule functions)sdk.guardrails.evaluate_guardrail()usageHow has this been tested?
Verified locally with
uv run mkdocs serve— all sections render correctly, all mkdocstrings references resolve without warnings.Are there any breaking changes?