Unstructured Masking Troubleshooting
Every Document Triggers fallback_masks
Problem
The masking run completes successfully when using the ai_detect matcher,
however fallback_masks are applied to every document.
Solution
Check presets (if used) are valid
Ensure any Presets used exist and are in UPPER_CASE format.
Invalid/Non-existent presets will cause the ai_detect matcher to fail.
Use a different model
Some combinations of data and model will trigger a ContentFiltered warning within AWS Bedrock.
This can occur if the model suspects copyrighted content, hate speech, or other unseemly material.
A different model may be used as a workaround.
Alternatively, the ai_detect matcher can be disabled entirely.
For more on changing the DM-AI-Engine model, view the README.md provided with it.