Skip to content

feat(rewrite): Add another LLM detection step to augment entities #118

@asteier2026

Description

@asteier2026

Priority Level

Medium (Nice to have)

Is your feature request related to a problem?

We'd like the initial entity detection for Rewrite to be very broad. It is only when the Sensitivity Disposition looks at the risk of entities in combination with other entities that the true risk can really be determined. If the entity does not contribute to re-identification risk, then it will choose the disposition of "leave-as-is" and it will not impact the rewrite.

We currently do have the occasional issue of LLM-as-a-Judge for privacy saying too many discriminating attributes are left in the anonymized text. This will help with that.

Describe the solution you'd like

Add one more step in the Rewrite pipeline that uses an LLM to find additional entities. Use domain supplements to guide the prompt.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions