-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
Enhance the endpoint_i endpoint to incorporate dedicated processing pipelines for data anonymization and guardrails enforcement. The guardrails logic must be split into two separate pipelines that run before and after the main request handling.
Tasks
-
Add Anonymizers Pipeline
- Integrate a pipeline that applies anonymization steps to incoming data prior to core business logic.
- Make the pipeline configurable (enable/disable specific anonymizers, ordering, etc.).
-
Add Guardrails Pipelines
- Before‑request pipeline
- Implement a guardrails pipeline that validates the request (e.g., policy checks, PII detection) before the main processing.
- After‑request pipeline
- Implement a guardrails pipeline that validates or sanitizes the response after the main processing.
- Allow independent configuration for each guardrails pipeline (enable/disable, custom rules, thresholds).
- Before‑request pipeline
-
Wire Pipelines into
endpoint_i- Ensure the execution order is:
before_request_pipeline(guardrails)- Anonymizers pipeline
- Core request handling
after_request_pipeline(guardrails)
- Ensure the execution order is:
-
Documentation
- Update the README and API documentation with usage examples, configuration options, and instructions for enabling/disabling each pipeline.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers