Skip to content

Commit 9417e9f

Browse files
docs(guardrails): replace hook placeholders with mkdocstrings directives (#872)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6ae179c commit 9417e9f

2 files changed

Lines changed: 15 additions & 20 deletions

File tree

docs/guardrails.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,16 +430,28 @@ Used in `LogAction(severity_level=...)`. Imported from `uipath_langchain.guardra
430430

431431
Imported from `uipath_langchain.guardrails.enums`. Wrap each value in `PIIDetectionEntity(entity_type, threshold=0.5)``threshold` is a float from `0.0` to `1.0`.
432432

433-
<!-- ENUM uipath_langchain.guardrails.enums.PIIDetectionEntityType -->
433+
::: uipath.platform.guardrails.decorators._enums.PIIDetectionEntityType
434+
options:
435+
show_root_heading: false
436+
show_source: false
437+
members: false
434438

435439
### HarmfulContentEntityType
436440

437441
Imported from `uipath_langchain.guardrails.enums`. Wrap each value in `HarmfulContentEntity(entity_type, threshold=2)``threshold` must be one of `0`, `2`, `4`, or `6` (higher = less sensitive).
438442

439-
<!-- ENUM uipath_langchain.guardrails.enums.HarmfulContentEntityType -->
443+
::: uipath.platform.guardrails.decorators._enums.HarmfulContentEntityType
444+
options:
445+
show_root_heading: false
446+
show_source: false
447+
members: false
440448

441449
### IntellectualPropertyEntityType
442450

443451
Imported from `uipath_langchain.guardrails.enums`. Pass values directly in `entities=[...]` — no wrapper model class.
444452

445-
<!-- ENUM uipath_langchain.guardrails.enums.IntellectualPropertyEntityType -->
453+
::: uipath.platform.guardrails.decorators._enums.IntellectualPropertyEntityType
454+
options:
455+
show_root_heading: false
456+
show_source: false
457+
members: false

docs/hooks/enum_lists.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)