LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithAnonymizer

Anonymizer

Tools for anonymizing sensitive data in LangSmith traces and logs. Supports rule-based and callable-based anonymization strategies.

Classes

Class

StringNodeProcessor

Processes a list of string nodes for masking.

Class

RuleNodeProcessor

String node processor that uses a list of rules to replace sensitive data.

Class

CallableNodeProcessor

String node processor that uses a callable function to replace sensitive data.

Functions

Function

create_anonymizer

Create an anonymizer function.