langsmith.anonymizer.RuleNodeProcessor#
- class langsmith.anonymizer.RuleNodeProcessor(rules: List[StringNodeRule])[source]#
String node processor that uses a list of rules to replace sensitive data.
Initialize the processor with a list of rules.
- Parameters:
rules (List[StringNodeRule]) –