fix: copy embedding dimension (#195)

This commit is contained in:
Siddharth Shankar Paul
2024-01-02 23:18:17 +05:30
committed by GitHub
parent 0ccf327806
commit e34543ecd5

View File

@@ -53,6 +53,7 @@ public class MilvusVectorStoreAutoConfiguration {
.withIndexType(IndexType.valueOf(properties.getIndexType().name()))
.withMetricType(MetricType.valueOf(properties.getMetricType().name()))
.withIndexParameters(properties.getIndexParameters())
.withEmbeddingDimension(properties.getEmbeddingDimension())
.build();
return new MilvusVectorStore(milvusClient, embeddingClient, config);