# Setup text splitter and node parser
splitter = TokenTextSplitter(
chunk_size=1024,
chunk_overlap=256,
separator=" ",
backup_separators=["\n"],
)
node_parser = SentenceSplitter(
chunk_size=1024,
chunk_overlap=256,
include_prev_next_rel=True,
include_metadata=True,
paragraph_separator="-->"
)