CharacterTextSplitter
Attributes
- Graph
-
- Supertypes
-
class TextSplittertrait LazyLoggingtrait DocumentSplitterclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait KeepSeparatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
DontKeep.type
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait KeepSeparatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
KeepAtEnd.type
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait KeepSeparatorclass Objecttrait Matchableclass AnyShow all
- Self type
-
KeepAtStart.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Value members
Concrete methods
Abstract method to be implemented by subclasses. Defines the core splitting logic for a given text.
Abstract method to be implemented by subclasses. Defines the core splitting logic for a given text.
Attributes
- Definition Classes
Inherited methods
Creates TextSegment objects from a list of texts and optional metadata. It calls the subclass's splitText implementation to get initial chunks and then formats them into TextSegments, potentially adding start index metadata.
Creates TextSegment objects from a list of texts and optional metadata. It calls the subclass's splitText implementation to get initial chunks and then formats them into TextSegments, potentially adding start index metadata.
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- TextSplitter
Entry point for splitting a single Langchain4j Document.
Attributes
- Inherited from:
- DocumentSplitter
Splits multiple documents into a list of TextSegments.
Inherited fields
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- TextSplitter
Attributes
- Inherited from:
- LazyLogging
Attributes
- Inherited from:
- TextSplitter