TextSplitter
Attributes
- Graph
-
- Supertypes
-
trait LazyLoggingtrait DocumentSplitterclass Objecttrait Matchableclass Any
- Known subtypes
-
class CharacterTextSplitter
Members list
Value members
Abstract 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
Concrete 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
Entry point for splitting a single Langchain4j Document.
Entry point for splitting a single Langchain4j Document.
Attributes
Splits multiple documents into a list of TextSegments.
Splits multiple documents into a list of TextSegments.
Attributes
Inherited methods
Attributes
- Inherited from:
- DocumentSplitter
Concrete fields
Inherited fields
Attributes
- Inherited from:
- LazyLogging