Remove superfluous batchingStrategy implementation in CosmosDBVectorStore

This commit is contained in:
Soby Chacko
2025-01-09 11:16:11 -05:00
parent 7634342ed6
commit 329e6c0219

View File

@@ -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);