Skip to content

Commit

Permalink
minor typo fix (#7168)
Browse files Browse the repository at this point in the history
Update root.md
  • Loading branch information
tilleul committed Aug 6, 2023
1 parent 8629e50 commit a6395d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core_modules/data_modules/node_parsers/root.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Concept

Node parsers are a simple abstraction that take a list of documents, and chunk them into `Node` objects, such that each node is a specific size. When a document is broken into nodes, all of it's attributes are inherited to the children nodes (i.e. `metadata`, text and metadata templates, etc.). You can read more about `Node` and `Document` properies [here](/core_modules/data_modules/documents_and_nodes/root.md).
Node parsers are a simple abstraction that take a list of documents, and chunk them into `Node` objects, such that each node is a specific size. When a document is broken into nodes, all of it's attributes are inherited to the children nodes (i.e. `metadata`, text and metadata templates, etc.). You can read more about `Node` and `Document` properties [here](/core_modules/data_modules/documents_and_nodes/root.md).

A node parser can configure the chunk size (in tokens) as well as any overlap between chunked nodes. The chunking is done by using a `TokenTextSplitter`, which default to a chunk size of 1024 and a default chunk overlap of 20 tokens.

Expand Down

0 comments on commit a6395d7

Please sign in to comment.