Uses of Enum Class
org.springframework.ai.document.MetadataMode
Packages that use MetadataMode
Package
Description
-
Uses of MetadataMode in org.springframework.ai.autoconfigure.embedding.transformer
Methods in org.springframework.ai.autoconfigure.embedding.transformer that return MetadataModeMethods in org.springframework.ai.autoconfigure.embedding.transformer with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
TransformersEmbeddingClientProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.azure.openai.embedding
Constructors in org.springframework.ai.azure.openai.embedding with parameters of type MetadataModeModifierConstructorDescriptionAzureOpenAiEmbeddingClient
(com.azure.ai.openai.OpenAIClient azureOpenAiClient, String model, MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.document
Methods in org.springframework.ai.document that return MetadataModeModifier and TypeMethodDescriptionstatic MetadataMode
Returns 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) DefaultContentFormatter.metadataFilter
(Map<String, Object> metadata, MetadataMode metadataMode) Filters the metadata by the configured MetadataMode. -
Uses of MetadataMode in org.springframework.ai.embedding
Constructors in org.springframework.ai.embedding with parameters of type MetadataModeModifierConstructorDescriptionPostgresMlEmbeddingClient
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, String transformer, PostgresMlEmbeddingClient.VectorType vectorType, Map<String, Object> kwargs, MetadataMode metadataMode) a constructorTransformersEmbeddingClient
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.openai.embedding
Constructors in org.springframework.ai.openai.embedding with parameters of type MetadataModeModifierConstructorDescriptionOpenAiEmbeddingClient
(com.theokanning.openai.service.OpenAiService openAiService, String model, MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.transformer
Constructors in org.springframework.ai.transformer with parameters of type MetadataModeModifierConstructorDescriptionSummaryMetadataEnricher
(AiClient aiClient, List<SummaryMetadataEnricher.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode) -
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 ofDocument
s into a file.