Package org.springframework.ai.splitter
Class TokenTextSplitter
java.lang.Object
org.springframework.ai.splitter.TextSplitter
org.springframework.ai.splitter.TokenTextSplitter
- Author:
- Raphael Yu
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.ai.splitter.TextSplitter
apply, isCopyContentFormatter, setCopyContentFormatter
-
Constructor Details
-
TokenTextSplitter
public TokenTextSplitter() -
TokenTextSplitter
public TokenTextSplitter(boolean keepSeparator)
-
-
Method Details
-
splitText
- Specified by:
splitText
in classTextSplitter
-
split
-