PIIMatch Class — langchain Architecture
Architecture documentation for the PIIMatch class in _redaction.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 0ec9fe45_cb8e_0928_ab4f_fc1b53c9977a["PIIMatch"] be639235_9a02_cc2d_5a7d_637d822fb3b3["_redaction.py"] 0ec9fe45_cb8e_0928_ab4f_fc1b53c9977a -->|defined in| be639235_9a02_cc2d_5a7d_637d822fb3b3
Relationship Graph
Source Code
libs/langchain_v1/langchain/agents/middleware/_redaction.py lines 20–26
class PIIMatch(TypedDict):
"""Represents an individual match of sensitive data."""
type: str
value: str
start: int
end: int
Source
Frequently Asked Questions
What is the PIIMatch class?
PIIMatch is a class in the langchain codebase, defined in libs/langchain_v1/langchain/agents/middleware/_redaction.py.
Where is PIIMatch defined?
PIIMatch is defined in libs/langchain_v1/langchain/agents/middleware/_redaction.py at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free