Skip to content

Commit 8a2974b

Browse files
committed
fix(storage): close LanceDBBackend constructor call in factory
1 parent 6a6e615 commit 8a2974b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vektori/storage/factory.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ async def create_storage(config: VektoriConfig) -> StorageBackend:
102102

103103
backend = LanceDBBackend(
104104
uri=database_url or ".lancedb",
105+
embedding_dim=config.embedding_dimension,
106+
)
107+
105108
elif backend_key == "milvus" or (
106109
database_url
107110
and (

0 commit comments

Comments
 (0)