Modules/Data
Documents and Nodes
Data structure for storing data in LlamaIndex
Document
s and Node
s are the basic building blocks of data in LlamaIndexTS. While the API for these objects is similar, Document
objects represent entire files, while Node
s are smaller pieces of that original document, that are suitable for an LLM and Q&A.