Uses of Interface
org.springframework.ai.embedding.BatchingStrategy
Package
Description
Provides the API for embedding observations.
Provides classes for observing and storing vector data.
-
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.azure
Modifier and TypeMethodDescriptionAzureVectorStoreAutoConfiguration.vectorStore
(com.azure.search.documents.indexes.SearchIndexClient searchIndexClient, EmbeddingModel embeddingModel, AzureVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.cassandra
Modifier and TypeMethodDescriptionCassandraVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, CassandraVectorStoreProperties properties, com.datastax.oss.driver.api.core.CqlSession cqlSession, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.chroma
Modifier and TypeMethodDescriptionChromaVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, ChromaApi chromaApi, ChromaVectorStoreProperties storeProperties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy chromaBatchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.cosmosdb
Modifier and TypeMethodDescriptionCosmosDBVectorStoreAutoConfiguration.cosmosDBVectorStore
(io.micrometer.observation.ObservationRegistry observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, CosmosDBVectorStoreProperties properties, com.azure.cosmos.CosmosAsyncClient cosmosAsyncClient, EmbeddingModel embeddingModel, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.gemfire
Modifier and TypeMethodDescriptionGemFireVectorStoreAutoConfiguration.gemfireVectorStore
(EmbeddingModel embeddingModel, GemFireVectorStoreProperties properties, GemFireConnectionDetails gemFireConnectionDetails, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.mariadb
Modifier and TypeMethodDescriptionMariaDbStoreAutoConfiguration.vectorStore
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, EmbeddingModel embeddingModel, MariaDbStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.milvus
Modifier and TypeMethodDescriptionMilvusVectorStoreAutoConfiguration.vectorStore
(io.milvus.client.MilvusServiceClient milvusClient, EmbeddingModel embeddingModel, MilvusVectorStoreProperties properties, BatchingStrategy batchingStrategy, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.neo4j
Modifier and TypeMethodDescriptionNeo4jVectorStoreAutoConfiguration.vectorStore
(org.neo4j.driver.Driver driver, EmbeddingModel embeddingModel, Neo4jVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.oracle
Modifier and TypeMethodDescriptionOracleVectorStoreAutoConfiguration.vectorStore
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, EmbeddingModel embeddingModel, OracleVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.pgvector
Modifier and TypeMethodDescriptionPgVectorStoreAutoConfiguration.vectorStore
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, EmbeddingModel embeddingModel, PgVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.pinecone
Modifier and TypeMethodDescriptionPineconeVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, PineconeVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.qdrant
Modifier and TypeMethodDescriptionQdrantVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, QdrantVectorStoreProperties properties, io.qdrant.client.QdrantClient qdrantClient, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.redis
Modifier and TypeMethodDescriptionRedisVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, RedisVectorStoreProperties properties, org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.typesense
Modifier and TypeMethodDescriptionTypesenseVectorStoreAutoConfiguration.vectorStore
(org.typesense.api.Client typesenseClient, EmbeddingModel embeddingModel, TypesenseVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.autoconfigure.vectorstore.weaviate
Modifier and TypeMethodDescriptionWeaviateVectorStoreAutoConfiguration.vectorStore
(EmbeddingModel embeddingModel, io.weaviate.client.WeaviateClient weaviateClient, WeaviateVectorStoreProperties properties, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<VectorStoreObservationConvention> customObservationConvention, BatchingStrategy batchingStrategy) -
Uses of BatchingStrategy in org.springframework.ai.embedding
Modifier and TypeClassDescriptionclass
Token count based strategy implementation forBatchingStrategy
.Modifier and TypeMethodDescriptiondefault List<float[]>
EmbeddingModel.embed
(List<Document> documents, EmbeddingOptions options, BatchingStrategy batchingStrategy) Embeds a batch ofDocument
s into vectors based on aBatchingStrategy
. -
Uses of BatchingStrategy in org.springframework.ai.vectorstore
Modifier and TypeFieldDescriptionprotected BatchingStrategy
AbstractVectorStoreBuilder.batchingStrategy
Modifier and TypeMethodDescriptionAbstractVectorStoreBuilder.batchingStrategy
(BatchingStrategy batchingStrategy) Sets the batching strategy.VectorStore.Builder.batchingStrategy
(BatchingStrategy batchingStrategy) Sets the batching strategy. -
Uses of BatchingStrategy in org.springframework.ai.vectorstore.observation
Modifier and TypeFieldDescriptionprotected final BatchingStrategy
AbstractObservationVectorStore.batchingStrategy