Uses of Interface
org.springframework.ai.document.ContentFormatter
Packages that use ContentFormatter
Package
Description
Provides the API for embedding observations.
-
Uses of ContentFormatter in org.springframework.ai.document
Classes in org.springframework.ai.document that implement ContentFormatterFields in org.springframework.ai.document declared as ContentFormatterModifier and TypeFieldDescriptionstatic final ContentFormatterDocument.DEFAULT_CONTENT_FORMATTERMethods in org.springframework.ai.document that return ContentFormatterModifier and TypeMethodDescriptionDocument.getContentFormatter()Returns the content formatter associated with this document.Methods in org.springframework.ai.document with parameters of type ContentFormatterModifier and TypeMethodDescriptionDocument.getFormattedContent(ContentFormatter formatter, MetadataMode metadataMode) Helper content extractor that uses and externalContentFormatter.voidDocument.setContentFormatter(ContentFormatter contentFormatter) Replace the document'sContentFormatter. -
Uses of ContentFormatter in org.springframework.ai.embedding
Constructors in org.springframework.ai.embedding with parameters of type ContentFormatterModifierConstructorDescriptionTokenCountBatchingStrategy(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 ContentFormatter in org.springframework.ai.transformer
Constructors in org.springframework.ai.transformer with parameters of type ContentFormatterModifierConstructorDescriptionContentFormatTransformer(ContentFormatter contentFormatter) Creates a ContentFormatTransformer object with the given ContentFormatter.ContentFormatTransformer(ContentFormatter contentFormatter, boolean disableTemplateRewrite) The ContentFormatTransformer class is responsible for processing a list of documents by applying a content formatter to each document.