Settings.chunk_size = 512
from llama_index.core.node_parser import SentenceSplitter splitter = SentenceSplitter(chunk_size=512) index = VectorStoreIndex.from_documents(..., transformations=[splitter])