Open
Description
Problem
def create_collection(self) -> None:
if self.pre_delete_collection:
self.delete_collection()
with self._make_sync_session() as session:
> self.CollectionStore.get_or_create(
session, self.collection_name, cmetadata=self.collection_metadata
)
E AttributeError: 'NoneType' object has no attribute 'get_or_create'
.venv/lib/python3.12/site-packages/langchain_postgres/vectorstores.py:542: AttributeError
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
amotl commentedon Jan 29, 2025
After helping with
vector_store._init_models_with_dimensionality(3)
, it fails when invokingvector_store.create_collection()
.