Skip to content

feat: masking of PII - #71

Draft
schiwekM wants to merge 6 commits into
mainfrom
feat/masking
Draft

feat: masking of PII#71
schiwekM wants to merge 6 commits into
mainfrom
feat/masking

Conversation

@schiwekM

@schiwekM schiwekM commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Mask PII properties returned from queries, actions and functions so the LLM works with hashes and not the actual PII.
Masked values are shown in traces, actual values are injected for the hashes when the message is returned to the user.

The hashing is seeded for each conversation, to ensure that LLMs cannot infer relations between PII across sessions.

Masking of AI Core is not enabled because it has larger performance impact and when we mask the initial user input and tool results we do not need the AI Core masking, thus leading to a better performance.

Current ToDo:

  • Use HANA NLS and DPI Data masking for the initial user message to scrape PII from it too.

Have you...

  • Added relevant entry to the change log?

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.

1 participant