Fix type and class name in doc status storage class assignment

• Corrected PGDocStatusStorage class name
• Fixed db assignment to class not instance
• Fixed incorrect Oracle reference
This commit is contained in:
yangdx
2025-02-11 17:07:53 +08:00
parent 8a56a5ea6c
commit afb5272816

View File

@@ -554,8 +554,8 @@ class LightRAG:
self.vector_db_storage_cls.db = postgres_db self.vector_db_storage_cls.db = postgres_db
if self.graph_storage == "PGGraphStorage": if self.graph_storage == "PGGraphStorage":
self.graph_storage_cls.db = postgres_db self.graph_storage_cls.db = postgres_db
if self.doc_status_storage == "OracleGraphStorage": if self.doc_status_storage == "PGDocStatusStorage":
self.doc_status_storage_cls = postgres_db self.doc_status_storage_cls.db = postgres_db
self.llm_response_cache = self.key_string_value_json_storage_cls( self.llm_response_cache = self.key_string_value_json_storage_cls(
namespace=make_namespace( namespace=make_namespace(