Skip to content

feat: add comprehend pii redactor#623

Open
victordb9997 wants to merge 2 commits into
arakoodev:tsfrom
victordb9997:feature/comprehend-pii-redactor
Open

feat: add comprehend pii redactor#623
victordb9997 wants to merge 2 commits into
arakoodev:tsfrom
victordb9997:feature/comprehend-pii-redactor

Conversation

@victordb9997

Copy link
Copy Markdown

Summary

  • add ComprehendPiiRedactor backed by AWS Comprehend DetectPiiEntities
  • support direct text redaction, prompt/message redaction, endpoint wrapping, and async operator chaining
  • export the redactor and public types from the AI package
  • add mocked Vitest coverage plus a runnable example with Jsonnet prompt config and mock/real AWS modes

Validation

  • npm run build
  • npx vitest run src/ai/src/tests/comprehend/comprehendPiiRedactor.test.ts
  • cd ../examples/comprehend-pii-redaction && npm install && npm run build && npm start

/claim #290

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@victordb9997 victordb9997 force-pushed the feature/comprehend-pii-redactor branch from a8e86c8 to a77eba0 Compare June 30, 2026 16:36
@victordb9997 victordb9997 force-pushed the feature/comprehend-pii-redactor branch from a77eba0 to fefe745 Compare June 30, 2026 16:36
@victordb9997

Copy link
Copy Markdown
Author

I have read the Arakoo CLA Document and I hereby sign the CLA

@victordb9997

Copy link
Copy Markdown
Author

recheck

@victordb9997 victordb9997 force-pushed the feature/comprehend-pii-redactor branch from 21e40d7 to 875a20c Compare July 1, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant