diff --git a/bot/retrievers/retrieve_similar_nodes.py b/bot/retrievers/retrieve_similar_nodes.py index c88e178..e7954f9 100644 --- a/bot/retrievers/retrieve_similar_nodes.py +++ b/bot/retrievers/retrieve_similar_nodes.py @@ -67,7 +67,7 @@ def query_db( group_by_metadata = kwargs.get("group_by_metadata", []) if not isinstance(group_by_metadata, list): raise ValueError("Expected 'group_by_metadata' to be a list.") - + self._vector_store._initialize() if not aggregate_records: