AR

/claim #290

Summary

  • Added AWSComprehendClient with AWS SigV4-signed DetectPiiEntities requests and env/constructor credential support.
  • Added AWSComprehendRedactor helpers for direct text redaction, message/prompt option redaction, chat endpoint wrapping, text mapping, and stream redaction.
  • Exported the new Comprehend API from @arakoodev/edgechains.js/ai.
  • Added mocked Vitest coverage and a runnable Jsonnet example for prompt redaction without needing AWS credentials.

Demo

https://github.com/Jorel97/bounty-demo-assets/raw/main/edgechains/edgechains-290-demo.mp4

Validation

  • npx tsc -b
  • npx vitest run src/ai/src/tests/comprehend/comprehend.test.ts
  • npm run dev from JS/edgechains/examples/aws-comprehend-redaction

Claim

Total prize pool $75
Total paid $0
Status Pending
Submitted May 29, 2026
Last updated May 29, 2026

Contributors

JO

Jorel97

@Jorel97

100%

Sponsors

AR

Arakoo.ai

@arakoodev

$25
GI

gittare

@gittare

$50