Uses of Record Class
dev.langchain4j.classification.ClassificationResult
-
Uses of ClassificationResult in dev.langchain4j.classification
Modifier and TypeMethodDescriptionEmbeddingModelTextClassifier.classifyWithScores
(String text) default ClassificationResult
<L> TextClassifier.classifyWithScores
(Document document) Classifies the givenDocument
and returns labels with scores.default ClassificationResult
<L> TextClassifier.classifyWithScores
(TextSegment textSegment) Classifies the givenTextSegment
and returns labels with scores.TextClassifier.classifyWithScores
(String text) Classifies the given text and returns labels with scores.