Class TokenTextSplitter

java.lang.Object
org.springframework.ai.splitter.TextSplitter
org.springframework.ai.splitter.TokenTextSplitter
All Implemented Interfaces:
Function<List<Document>,List<Document>>, DocumentTransformer

public class TokenTextSplitter extends TextSplitter
Author:
Raphael Yu
  • Constructor Details

    • TokenTextSplitter

      public TokenTextSplitter()
    • TokenTextSplitter

      public TokenTextSplitter(boolean keepSeparator)
  • Method Details