fix: Fix retrieve error

This commit is contained in:
Fangyin Cheng
2025-03-17 15:37:02 +08:00
parent b2dd66dc6d
commit 9f2e747698
13 changed files with 22 additions and 26 deletions

View File

@@ -39,7 +39,7 @@ class StorageManager(BaseComponent):
"""Get storage connector."""
supported_vector_types = self.get_vector_supported_types
storage_config = self.storage_config()
if storage_type in supported_vector_types:
if storage_type.lower() in supported_vector_types:
return self.create_vector_store(index_name)
elif storage_type == "KnowledgeGraph":
if not storage_config.graph: