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.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 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) 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.model.azure.openai.autoconfigure
Methods in org.springframework.ai.model.azure.openai.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.azure.openai.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidAzureOpenAiEmbeddingProperties.setMetadataMode(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.minimax.autoconfigure
Methods in org.springframework.ai.model.minimax.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.minimax.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidMiniMaxEmbeddingProperties.setMetadataMode(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.mistralai.autoconfigure
Fields in org.springframework.ai.model.mistralai.autoconfigure declared as MetadataModeMethods in org.springframework.ai.model.mistralai.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.mistralai.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidMistralAiEmbeddingProperties.setMetadataMode(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.openai.autoconfigure
Methods in org.springframework.ai.model.openai.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.openai.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidOpenAiEmbeddingProperties.setMetadataMode(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.transformer
Constructors in org.springframework.ai.model.transformer with parameters of type MetadataModeModifierConstructorDescriptionSummaryMetadataEnricher(ChatModel chatModel, List<SummaryMetadataEnricher.SummaryType> summaryTypes, String summaryTemplate, MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.transformers.autoconfigure
Methods in org.springframework.ai.model.transformers.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.transformers.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidTransformersEmbeddingModelProperties.setMetadataMode(MetadataMode metadataMode) -
Uses of MetadataMode in org.springframework.ai.model.zhipuai.autoconfigure
Methods in org.springframework.ai.model.zhipuai.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.zhipuai.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidZhiPuAiEmbeddingProperties.setMetadataMode(MetadataMode metadataMode) -
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) voidPostgresMlEmbeddingOptions.setMetadataMode(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 ofDocuments 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.