Remove the assertion on partition key path in CosmosDBVectorStore constructor

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
This commit is contained in:
Soby Chacko
2025-04-10 11:33:57 -04:00
parent 923e09a1b0
commit 7b265bffa5

View File

@@ -107,7 +107,6 @@ public class CosmosDBVectorStore extends AbstractObservationVectorStore implemen
Assert.notNull(builder.cosmosClient, "CosmosClient must not be null");
Assert.hasText(builder.containerName, "Container name must not be empty");
Assert.hasText(builder.databaseName, "Database name must not be empty");
Assert.hasText(builder.partitionKeyPath, "Partition key path must not be empty");
this.cosmosClient = builder.cosmosClient;
this.containerName = builder.containerName;