Skip to content

Commit 329e6c0

Browse files
committed
Remove superfluous batchingStrategy implementation in CosmosDBVectorStore
1 parent 7634342 commit 329e6c0

File tree

1 file changed

+0
-12
lines changed
  • vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb

1 file changed

+0
-12
lines changed

vector-stores/spring-ai-azure-cosmos-db-store/src/main/java/org/springframework/ai/vectorstore/cosmosdb/CosmosDBVectorStore.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -477,18 +477,6 @@ public Builder metadataFields(List<String> metadataFieldsList) {
477477
return this;
478478
}
479479

480-
/**
481-
* Sets the batching strategy.
482-
* @param batchingStrategy the strategy to use
483-
* @return the builder instance
484-
* @throws IllegalArgumentException if batchingStrategy is null
485-
*/
486-
public Builder batchingStrategy(BatchingStrategy batchingStrategy) {
487-
Assert.notNull(this.batchingStrategy, "BatchingStrategy must not be null");
488-
this.batchingStrategy = batchingStrategy;
489-
return this;
490-
}
491-
492480
@Override
493481
public CosmosDBVectorStore build() {
494482
return new CosmosDBVectorStore(this);

0 commit comments

Comments
 (0)