Uses of Enum Class
org.springframework.ai.document.MetadataMode
Packages that use MetadataMode
Package
Description
Provides the API for embedding observations.
Spring AI integration with the official OpenAI Java SDK.
-
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
Subclasses with type arguments of type MetadataMode in org.springframework.ai.documentMethods 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) -
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.core.retry.RetryTemplate retryTemplate) Initializes a new instance of the MiniMaxEmbeddingModel class.MiniMaxEmbeddingModel(MiniMaxApi miniMaxApi, MetadataMode metadataMode, MiniMaxEmbeddingOptions options, org.springframework.core.retry.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MiniMaxEmbeddingModel class. -
Uses of MetadataMode in org.springframework.ai.mistralai
Methods in org.springframework.ai.mistralai with parameters of type MetadataModeModifier and TypeMethodDescriptionMistralAiEmbeddingModel.Builder.metadataMode(MetadataMode metadataMode) Constructors in org.springframework.ai.mistralai with parameters of type MetadataModeModifierConstructorDescriptionMistralAiEmbeddingModel(MistralAiApi mistralAiApi, MetadataMode metadataMode, MistralAiEmbeddingOptions options, org.springframework.core.retry.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.openaisdk.autoconfigure
Methods in org.springframework.ai.model.openaisdk.autoconfigure that return MetadataModeMethods in org.springframework.ai.model.openaisdk.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidOpenAiSdkEmbeddingProperties.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.core.retry.RetryTemplate retryTemplate) Initializes a new instance of the OpenAiEmbeddingModel class.OpenAiEmbeddingModel(OpenAiApi openAiApi, MetadataMode metadataMode, OpenAiEmbeddingOptions options, org.springframework.core.retry.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the OpenAiEmbeddingModel class. -
Uses of MetadataMode in org.springframework.ai.openaisdk
Constructors in org.springframework.ai.openaisdk with parameters of type MetadataModeModifierConstructorDescriptionOpenAiSdkEmbeddingModel(com.openai.client.OpenAIClient openAiClient, MetadataMode metadataMode) Creates a new OpenAiSdkEmbeddingModel with the given OpenAI client and metadata mode.OpenAiSdkEmbeddingModel(com.openai.client.OpenAIClient openAiClient, MetadataMode metadataMode, OpenAiSdkEmbeddingOptions options) Creates a new OpenAiSdkEmbeddingModel with all configuration options.OpenAiSdkEmbeddingModel(com.openai.client.OpenAIClient openAiClient, MetadataMode metadataMode, OpenAiSdkEmbeddingOptions options, io.micrometer.observation.ObservationRegistry observationRegistry) Creates a new OpenAiSdkEmbeddingModel with all configuration options.OpenAiSdkEmbeddingModel(MetadataMode metadataMode, OpenAiSdkEmbeddingOptions options) Creates a new OpenAiSdkEmbeddingModel with the given metadata mode and options.OpenAiSdkEmbeddingModel(MetadataMode metadataMode, OpenAiSdkEmbeddingOptions options, io.micrometer.observation.ObservationRegistry observationRegistry) Creates a new OpenAiSdkEmbeddingModel with the given metadata mode, options, and observation registry. -
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.core.retry.RetryTemplate retryTemplate) Initializes a new instance of the ZhiPuAiEmbeddingModel class.ZhiPuAiEmbeddingModel(ZhiPuAiApi zhiPuAiApi, MetadataMode metadataMode, ZhiPuAiEmbeddingOptions options, org.springframework.core.retry.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the ZhiPuAiEmbeddingModel class.