Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphrag/config/models/graph_rag_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _validate_vector_store_db_uri(self) -> None:
"""Validate the vector store configuration."""
for store in self.vector_store.values():
if store.type == VectorStoreType.LanceDB:
if not store.db_uri or store.db_uri.strip == "":
if not store.db_uri or store.db_uri.strip() == "":
msg = "Vector store URI is required for LanceDB. Please rerun `graphrag init` and set the vector store configuration."
raise ValueError(msg)
store.db_uri = str((Path(self.root_dir) / store.db_uri).resolve())
Expand Down