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:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user