LangSmith · Function
create_anonymizer
Creates a callable that anonymizes sensitive text in nested data. It accepts replacement rules or a custom string replacer and can limit recursion depth.
Last updated
- Since
- v0.5
Syntax
create_anonymizer(replacer: ReplacerType, *, max_depth: Optional[int] = None) -> CallableIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
StringNodeProcessorRuleNodeProcessorCallableNodeProcessorClienthide_inputshide_outputs