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.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) -
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.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.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.postgresml.autoconfigure
Methods in org.springframework.ai.model.postgresml.autoconfigure that return MetadataModeModifier and TypeMethodDescription@Nullable MetadataModePostgresMlEmbeddingProperties.getMetadataMode()@Nullable MetadataModePostgresMlEmbeddingProperties.Options.getMetadataMode()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.ai.model.postgresml.autoconfigure with parameters of type MetadataModeModifier and TypeMethodDescriptionvoidPostgresMlEmbeddingProperties.Options.setMetadataMode(@Nullable MetadataMode metadataMode) voidPostgresMlEmbeddingProperties.setMetadataMode(@Nullable 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.openai
Constructors in org.springframework.ai.openai with parameters of type MetadataModeModifierConstructorDescriptionOpenAiEmbeddingModel(@Nullable com.openai.client.OpenAIClient openAiClient, @Nullable MetadataMode metadataMode) Creates a new OpenAiEmbeddingModel with the given OpenAI client and metadata mode.OpenAiEmbeddingModel(@Nullable com.openai.client.OpenAIClient openAiClient, @Nullable MetadataMode metadataMode, @Nullable OpenAiEmbeddingOptions options) Creates a new OpenAiEmbeddingModel with all configuration options.OpenAiEmbeddingModel(@Nullable com.openai.client.OpenAIClient openAiClient, @Nullable MetadataMode metadataMode, @Nullable OpenAiEmbeddingOptions options, @Nullable io.micrometer.observation.ObservationRegistry observationRegistry) Creates a new OpenAiEmbeddingModel with all configuration options.OpenAiEmbeddingModel(@Nullable MetadataMode metadataMode, @Nullable OpenAiEmbeddingOptions options) Creates a new OpenAiEmbeddingModel with the given metadata mode and options.OpenAiEmbeddingModel(@Nullable MetadataMode metadataMode, @Nullable OpenAiEmbeddingOptions options, @Nullable io.micrometer.observation.ObservationRegistry observationRegistry) Creates a new OpenAiEmbeddingModel 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(@Nullable MetadataMode metadataMode) Constructors in org.springframework.ai.postgresml with parameters of type MetadataModeModifierConstructorDescriptionprotectedPostgresMlEmbeddingOptions(@Nullable String transformer, @Nullable PostgresMlEmbeddingModel.VectorType vectorType, @Nullable Map<String, Object> kwargs, @Nullable 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.