Uses of Enum Class
org.springframework.ai.document.MetadataMode
Package
Description
-
Uses of MetadataMode in org.springframework.ai.autoconfigure.azure.openai
Modifier and TypeMethodDescriptionvoid
AzureOpenAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.minimax
Modifier and TypeMethodDescriptionvoid
MiniMaxEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.mistralai
Modifier and TypeMethodDescriptionvoid
MistralAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.openai
Modifier and TypeMethodDescriptionvoid
OpenAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.qianfan
Modifier and TypeMethodDescriptionvoid
QianFanEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.transformers
Modifier and TypeMethodDescriptionvoid
TransformersEmbeddingModelProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.autoconfigure.zhipuai
Modifier and TypeMethodDescriptionvoid
ZhiPuAiEmbeddingProperties.setMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.azure.openai
ModifierConstructorDescriptionAzureOpenAiEmbeddingModel
(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
Modifier 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.Modifier 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
ModifierConstructorDescriptionTokenCountBatchingStrategy
(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
ModifierConstructorDescriptionMiniMaxEmbeddingModel
(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
ModifierConstructorDescriptionMistralAiEmbeddingModel
(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
ModifierConstructorDescriptionOpenAiEmbeddingModel
(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
Modifier and TypeMethodDescriptionvoid
PostgresMlEmbeddingOptions.setMetadataMode
(MetadataMode metadataMode) PostgresMlEmbeddingOptions.Builder.withMetadataMode
(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.qianfan
ModifierConstructorDescriptionQianFanEmbeddingModel
(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
ModifierConstructorDescriptionSummaryMetadataEnricher
(ChatModel chatModel, List<SummaryMetadataEnricher.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.transformers
ModifierConstructorDescriptionTransformersEmbeddingModel
(MetadataMode metadataMode) TransformersEmbeddingModel
(MetadataMode metadataMode, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of MetadataMode in org.springframework.ai.writer
ModifierConstructorDescriptionFileDocumentWriter
(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
ModifierConstructorDescriptionZhiPuAiEmbeddingModel
(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.