Documents and Nodes
- What is the default
chunk_sizeof a Node object? - How to add information like name, url in a
Documentobject? - How to update existing document in an Index?
1. What is the default chunk_size of a Node object?
Section titled β1. What is the default chunk_size of a Node object?βItβs 1024 by default. If you want to customize the chunk_size, You can follow Customizing Node
2. How to add information like name, url in a Document object?
Section titled β2. How to add information like name, url in a Document object?βYou can customize the Document object and add extra info in the form of metadata. To know more on this follow Customize Document.
3. How to update existing document in an Index?
Section titled β3. How to update existing document in an Index?βYou can update/delete existing document in an Index with the help of doc_id. You can add new document to an existing Index too. To know more check Document Management
Note for AI agents: this documentation is built for programmatic access.
- Overview of all docs: https://developers.llamaindex.ai/llms.txt
- Any page is available as raw Markdown by appending index.md to its URL β e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md
- Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ β search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters.
- A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/