Find answers from the community

Updated 3 months ago

Hey, wanted to ask if SentenceSplitter

Hey, wanted to ask if SentenceSplitter is deprecated? Doesn't seem to be in the latest version.
L
T
10 comments
Its not deprecated, and it is in the latest version
Plain Text
from llama_index.text_splitter import SentenceSplitter
@Logan M Oh, sorry. The doc I was viewing was telling: from llama_index.node_parser import SentenceSplitter
that import also works ha -- its a long story
Technically a text splitter now extends the node parser class
originally I wanted to rename the SentenceSplitter to SentenceAwareNodeParser
but text-splitter is a more recognizable name/feature for newcomers πŸ˜…
Okay, thanks! πŸ˜„
Add a reply
Sign up and join the conversation on Discord