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
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithanonymizerReplacerOptions
Class●Since v0.1

ReplacerOptions

Configuration options for replacing sensitive data.

Copy
ReplacerOptions()

Bases

TypedDict

Constructors

constructor
__init__
NameType
max_depthOptional[int]
deep_cloneOptional[bool]

Attributes

attribute
max_depth: Optional[int]

Maximum depth to traverse to to extract string nodes.

attribute
deep_clone: Optional[bool]

Deep clone the data before replacing.

View source on GitHub