Uses of Enum Class
org.springframework.ai.document.MetadataMode
Packages that use MetadataMode
Package
Description
Provides the API for embedding observations.
-
Uses of MetadataMode in org.springframework.ai.autoconfigure.azure.openai
Methods in org.springframework.ai.autoconfigure.azure.openai that return MetadataModeMethods in org.springframework.ai.autoconfigure.azure.openai with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
AzureOpenAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.minimax
Methods in org.springframework.ai.autoconfigure.minimax that return MetadataModeMethods in org.springframework.ai.autoconfigure.minimax with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
MiniMaxEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.mistralai
Fields in org.springframework.ai.autoconfigure.mistralai declared as MetadataModeMethods in org.springframework.ai.autoconfigure.mistralai that return MetadataModeMethods in org.springframework.ai.autoconfigure.mistralai with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
MistralAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.openai
Methods in org.springframework.ai.autoconfigure.openai that return MetadataModeMethods in org.springframework.ai.autoconfigure.openai with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
OpenAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.qianfan
Methods in org.springframework.ai.autoconfigure.qianfan that return MetadataModeMethods in org.springframework.ai.autoconfigure.qianfan with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
QianFanEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.transformers
Methods in org.springframework.ai.autoconfigure.transformers that return MetadataModeMethods in org.springframework.ai.autoconfigure.transformers with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
TransformersEmbeddingModelProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.zhipuai
Methods in org.springframework.ai.autoconfigure.zhipuai that return MetadataModeMethods in org.springframework.ai.autoconfigure.zhipuai with parameters of type MetadataModeModifier and TypeMethodDescriptionvoid
ZhiPuAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.azure.openai
Constructors in org.springframework.ai.azure.openai with parameters of type MetadataModeModifierConstructorDescriptionAzureOpenAiEmbeddingModel
(com.azure.ai.openai.OpenAIClient azureOpenAiClient, MetadataMode metadataMode) AzureOpenAiEmbeddingModel
(com.azure.ai.openai.OpenAIClient azureOpenAiClient, MetadataMode metadataMode, AzureOpenAiEmbeddingOptions options) AzureOpenAiEmbeddingModel
(com.azure.ai.openai.OpenAIClient azureOpenAiClient, MetadataMode metadataMode, AzureOpenAiEmbeddingOptions options, io.micrometer.observation.ObservationRegistry observationRegistry) -
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 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.minimax
Constructors in org.springframework.ai.minimax with parameters of type MetadataModeModifierConstructorDescriptionMiniMaxEmbeddingModel
(MiniMaxApi miniMaxApi, MetadataMode metadataMode) Initializes a new instance of the MiniMaxEmbeddingModel class.MiniMaxEmbeddingModel
(MiniMaxApi miniMaxApi, MetadataMode metadataMode, MiniMaxEmbeddingOptions miniMaxEmbeddingOptions) Initializes a new instance of the MiniMaxEmbeddingModel class.MiniMaxEmbeddingModel
(MiniMaxApi miniMaxApi, MetadataMode metadataMode, MiniMaxEmbeddingOptions miniMaxEmbeddingOptions, org.springframework.retry.support.RetryTemplate retryTemplate) Initializes a new instance of the MiniMaxEmbeddingModel class.MiniMaxEmbeddingModel
(MiniMaxApi miniMaxApi, MetadataMode metadataMode, MiniMaxEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MiniMaxEmbeddingModel class. -
Uses of MetadataMode in org.springframework.ai.mistralai
Constructors in org.springframework.ai.mistralai with parameters of type MetadataModeModifierConstructorDescriptionMistralAiEmbeddingModel
(MistralAiApi mistralAiApi, MetadataMode metadataMode) MistralAiEmbeddingModel
(MistralAiApi mistralAiApi, MetadataMode metadataMode, MistralAiEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate) MistralAiEmbeddingModel
(MistralAiApi mistralAiApi, MetadataMode metadataMode, MistralAiEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of MetadataMode in org.springframework.ai.openai
Constructors in org.springframework.ai.openai with parameters of type MetadataModeModifierConstructorDescriptionOpenAiEmbeddingModel
(OpenAiApi openAiApi, MetadataMode metadataMode) Initializes a new instance of the OpenAiEmbeddingModel class.OpenAiEmbeddingModel
(OpenAiApi openAiApi, MetadataMode metadataMode, OpenAiEmbeddingOptions openAiEmbeddingOptions) Initializes a new instance of the OpenAiEmbeddingModel class.OpenAiEmbeddingModel
(OpenAiApi openAiApi, MetadataMode metadataMode, OpenAiEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate) Initializes a new instance of the OpenAiEmbeddingModel class.OpenAiEmbeddingModel
(OpenAiApi openAiApi, MetadataMode metadataMode, OpenAiEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the OpenAiEmbeddingModel class. -
Uses of MetadataMode in org.springframework.ai.postgresml
Methods in org.springframework.ai.postgresml that return MetadataModeMethods in org.springframework.ai.postgresml with parameters of type MetadataModeModifier and TypeMethodDescriptionPostgresMlEmbeddingOptions.Builder.metadataMode
(MetadataMode metadataMode) void
PostgresMlEmbeddingOptions.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.qianfan
Constructors in org.springframework.ai.qianfan with parameters of type MetadataModeModifierConstructorDescriptionQianFanEmbeddingModel
(QianFanApi qianFanApi, MetadataMode metadataMode) Initializes a new instance of the QianFanEmbeddingModel class.QianFanEmbeddingModel
(QianFanApi qianFanApi, MetadataMode metadataMode, QianFanEmbeddingOptions qianFanEmbeddingOptions) Initializes a new instance of the QianFanEmbeddingModel class.QianFanEmbeddingModel
(QianFanApi qianFanApi, MetadataMode metadataMode, QianFanEmbeddingOptions qianFanEmbeddingOptions, org.springframework.retry.support.RetryTemplate retryTemplate) Initializes a new instance of the QianFanEmbeddingModel class.QianFanEmbeddingModel
(QianFanApi qianFanApi, MetadataMode metadataMode, QianFanEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the QianFanEmbeddingModel class. -
Uses of MetadataMode in org.springframework.ai.transformer
Constructors in org.springframework.ai.transformer with parameters of type MetadataModeModifierConstructorDescriptionSummaryMetadataEnricher
(ChatModel chatModel, List<SummaryMetadataEnricher.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.transformers
Constructors in org.springframework.ai.transformers with parameters of type MetadataModeModifierConstructorDescriptionTransformersEmbeddingModel
(MetadataMode metadataMode) TransformersEmbeddingModel
(MetadataMode metadataMode, io.micrometer.observation.ObservationRegistry observationRegistry) -
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. -
Uses of MetadataMode in org.springframework.ai.zhipuai
Constructors in org.springframework.ai.zhipuai with parameters of type MetadataModeModifierConstructorDescriptionZhiPuAiEmbeddingModel
(ZhiPuAiApi zhiPuAiApi, MetadataMode metadataMode) Initializes a new instance of the ZhiPuAiEmbeddingModel class.ZhiPuAiEmbeddingModel
(ZhiPuAiApi zhiPuAiApi, MetadataMode metadataMode, ZhiPuAiEmbeddingOptions zhiPuAiEmbeddingOptions) Initializes a new instance of the ZhiPuAiEmbeddingModel class.ZhiPuAiEmbeddingModel
(ZhiPuAiApi zhiPuAiApi, MetadataMode metadataMode, ZhiPuAiEmbeddingOptions zhiPuAiEmbeddingOptions, org.springframework.retry.support.RetryTemplate retryTemplate) Initializes a new instance of the ZhiPuAiEmbeddingModel class.ZhiPuAiEmbeddingModel
(ZhiPuAiApi zhiPuAiApi, MetadataMode metadataMode, ZhiPuAiEmbeddingOptions options, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the ZhiPuAiEmbeddingModel class.