from_defaults()
, you can pass in sentence_splitter
which is a callable function with str in , List[str] outdef my_splitter(text: str) -> List[str]: return text.split('. ') node_parser = SentenceWindowNodeParser.from_defaults(..., sentence_splitter=my_splitter)