Skip to content

Add AWS Comprehend PII redaction utility#528

Open
MANFIT7 wants to merge 1 commit into
arakoodev:tsfrom
MANFIT7:bounty/aws-comprehend-redaction
Open

Add AWS Comprehend PII redaction utility#528
MANFIT7 wants to merge 1 commit into
arakoodev:tsfrom
MANFIT7:bounty/aws-comprehend-redaction

Conversation

@MANFIT7
Copy link
Copy Markdown

@MANFIT7 MANFIT7 commented May 20, 2026

Summary

  • add an AWS Comprehend-based PII redaction utility for the JavaScript SDK
  • expose the new redaction module via @arakoodev/edgechains.js/redaction
  • add helpers for redacting raw prompt text and chat-style prompt options before forwarding to endpoint classes
  • add unit tests with a mocked Comprehend client
  • add a working example under examples/aws-comprehend-redaction

Closes #290.

Validation

  • bunx vitest run src/redaction/src/tests/aws-comprehend/awsComprehendRedactor.test.ts
  • bun run build

Notes

I also tried the full bun run test suite. The new redaction tests pass, but the existing suite currently has unrelated failures around old Jest globals in Vitest, missing dist/openai/... imports, missing Playwright browser binaries, and a scraper test receiving HTTP 403.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

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

@MANFIT7
Copy link
Copy Markdown
Author

MANFIT7 commented May 20, 2026

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

@MANFIT7
Copy link
Copy Markdown
Author

MANFIT7 commented May 20, 2026

recheck

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.

BOUNTY: integrate AWS Comprehend as a utility to redact data

1 participant