from llama_index.node_parser import SimpleNodeParser node_parser = SimpleNodeParser.from_defaults(chunk_size=1024) nodes = node_parser.get_nodes_from_documents(documents)
index = VectorStoreIndex(nodes, ...)