Class SummaryExtractor
java.lang.Object
org.springframework.ai.loader.extractor.SummaryExtractor
Title extractor with adjacent sharing that uses model to extract 'section_summary',
'prev_section_summary', 'next_section_summary' metadata fields.
- Author:
- Christian Tzolov
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSummaryExtractor
(AiClient aiClient, List<SummaryExtractor.SummaryType> summaryTypes) SummaryExtractor
(AiClient aiClient, List<SummaryExtractor.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode) -
Method Summary
-
Field Details
-
DEFAULT_SUMMARY_EXTRACT_TEMPLATE
- See Also:
-
-
Constructor Details
-
SummaryExtractor
-
SummaryExtractor
public SummaryExtractor(AiClient aiClient, List<SummaryExtractor.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode)
-
-
Method Details