diff --git a/vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb/CosmosDBVectorStore.java b/vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb/CosmosDBVectorStore.java index c56134b87..ec40ee9d2 100644 --- a/vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb/CosmosDBVectorStore.java +++ b/vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb/CosmosDBVectorStore.java @@ -477,18 +477,6 @@ public class CosmosDBVectorStore extends AbstractObservationVectorStore implemen return this; } - /** - * Sets the batching strategy. - * @param batchingStrategy the strategy to use - * @return the builder instance - * @throws IllegalArgumentException if batchingStrategy is null - */ - public Builder batchingStrategy(BatchingStrategy batchingStrategy) { - Assert.notNull(this.batchingStrategy, "BatchingStrategy must not be null"); - this.batchingStrategy = batchingStrategy; - return this; - } - @Override public CosmosDBVectorStore build() { return new CosmosDBVectorStore(this);