Mask / redact PII from traces logged to langfuse #3402
marcklingen
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
|
@marcklingen Do you folks plans to use a library like https://microsoft.github.io/presidio/ cuz phone number formats/emails/etc can be pretty crazy! |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
#1676 If so, filter is better. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Passing a custom masking function has been released, please check out our docs, try it out and let us know your feedback! 🙏🏾 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature or potential improvement
In todays community session, the idea came up multiple times to redact PII and other sensitive information from traces.
I'd suggest to add a callback on the integration level which can be optionally used to remove sensitive data before it is logged to Langfuse.
Additional information
Potential DX (low-level sdk, extends to other integrations)
Probably a util is necessary here to apply the mask to more complex (size/objects) inputs/outputs without performance issues.
Beta Was this translation helpful? Give feedback.
All reactions