Skip to content

Add AWS Comprehend PII redaction utility#555

Open
VexCode24 wants to merge 1 commit into
arakoodev:tsfrom
VexCode24:codex/aws-comprehend-redactor
Open

Add AWS Comprehend PII redaction utility#555
VexCode24 wants to merge 1 commit into
arakoodev:tsfrom
VexCode24:codex/aws-comprehend-redactor

Conversation

@VexCode24
Copy link
Copy Markdown

Fixes #290
/claim #290

Summary

  • add AwsComprehendRedactor to the AI package, backed by Amazon Comprehend DetectPiiEntities
  • support redacting plain prompts, chat message arrays, and calling existing chat endpoints after redaction
  • include a runnable AWS Comprehend + OpenAI example under examples/aws-comprehend-redaction

Tests

  • node node_modules/vitest/vitest.mjs run src/ai/src/tests/awsComprehendRedactor.test.ts
  • node node_modules/typescript/bin/tsc -b

@github-actions
Copy link
Copy Markdown

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the Arakoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text.


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


You can retrigger this bot by commenting recheck in this Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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