Package dev.langchain4j.data.document
Class DocumentSegment
java.lang.Object
dev.langchain4j.data.document.DocumentSegment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentSegment
documentSegment
(String text) static DocumentSegment
documentSegment
(String text, Metadata metadata) boolean
static DocumentSegment
static DocumentSegment
int
hashCode()
metadata()
text()
toString()