Uses of Enum Class
org.springframework.ai.document.MetadataMode
Packages that use MetadataMode
Package
Description
-
Uses of MetadataMode in org.springframework.ai.document
Methods in org.springframework.ai.document that return MetadataModeModifier and TypeMethodDescriptionstatic MetadataModeReturns the enum constant of this class with the specified name.static MetadataMode[]MetadataMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.document with parameters of type MetadataModeModifier and TypeMethodDescriptionContentFormatter.format(Document document, MetadataMode mode) DefaultContentFormatter.format(Document document, MetadataMode metadataMode) Document.getFormattedContent(ContentFormatter formatter, MetadataMode metadataMode) Helper content extractor that uses and externalContentFormatter.Document.getFormattedContent(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.embedding
Constructors in org.springframework.ai.embedding with parameters of type MetadataModeModifierConstructorDescriptionTokenCountBatchingStrategy(com.knuddels.jtokkit.api.EncodingType encodingType, int maxInputTokenCount, double reservePercentage, ContentFormatter contentFormatter, MetadataMode metadataMode) TokenCountBatchingStrategy(TokenCountEstimator tokenCountEstimator, int maxInputTokenCount, double reservePercentage, ContentFormatter contentFormatter, MetadataMode metadataMode) Constructs a TokenCountBatchingStrategy with the specified parameters. -
Uses of MetadataMode in org.springframework.ai.writer
Constructors in org.springframework.ai.writer with parameters of type MetadataModeModifierConstructorDescriptionFileDocumentWriter(String fileName, boolean withDocumentMarkers, MetadataMode metadataMode, boolean append) Writes the content of a list ofDocuments into a file.