Class TokenTextSplitter.Builder
java.lang.Object
org.springframework.ai.transformer.splitter.TokenTextSplitter.Builder
- Enclosing class:
- TokenTextSplitter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withChunkSize
(int chunkSize) withKeepSeparator
(boolean keepSeparator) withMaxNumChunks
(int maxNumChunks) withMinChunkLengthToEmbed
(int minChunkLengthToEmbed) withMinChunkSizeChars
(int minChunkSizeChars)
-
Method Details
-
withChunkSize
-
withMinChunkSizeChars
-
withMinChunkLengthToEmbed
-
withMaxNumChunks
-
withKeepSeparator
-
build
-