Init embedding_model_dims in all vectordbs (#2572)

This commit is contained in:
Dev Khant
2025-04-19 10:53:01 +05:30
committed by GitHub
parent 78912928bc
commit 3ee4768c14
7 changed files with 9 additions and 5 deletions

View File

@@ -51,6 +51,7 @@ class PGVector(VectorStoreBase):
self.collection_name = collection_name
self.use_diskann = diskann
self.use_hnsw = hnsw
self.embedding_model_dims = embedding_model_dims
self.conn = psycopg2.connect(dbname=dbname, user=user, password=password, host=host, port=port)
self.cur = self.conn.cursor()