LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
LangChain
LangChain Core
MCP Adapters
Standard Tests
Text Splitters
LangChain Classic
Language
Python
JavaScript
Theme
Light
Dark
Python
langchain-text-splitters
html
ElementType
Class
v1.1.3 (latest)
●
Since v0.0
ElementType
Copy
ElementType
(
)
Bases
TypedDict
Constructors
Attributes
View source on GitHub
Version History
constructor
__init__
Name
Type
url
str
xpath
str
content
str
metadata
dict
[
str
,
str
]
attribute
url
:
str
attribute
xpath
:
str
attribute
content
:
str
attribute
metadata
:
dict
[
str
,
str
]
Element type as typed dict.