TextNode
ClassDataClassSource
TextNode(type: Literal["text"] = "text", text: str)
Node: Text
Provide the plain text.
Fields
| Name | Type | Required | |
|---|---|---|---|
type | Literal["text"] | The type identifer of this document node. | |
text | str | The pure text in the node. |
Properties
pure_text
pure_text: str = self.pure_text
The pure text of the current node.
size
size: int = self.size
The estimated text length of the current node.