Merge pull request #1062 from ericshao/fix-postgres
Browse filesFix PGDocStatusStorage content extraction for DocProcessingStatus
lightrag/kg/postgres_impl.py
CHANGED
@@ -755,7 +755,7 @@ class PGDocStatusStorage(DocStatusStorage):
|
|
755 |
result = await self.db.query(sql, params, True)
|
756 |
docs_by_status = {
|
757 |
element["id"]: DocProcessingStatus(
|
758 |
-
content=
|
759 |
content_summary=element["content_summary"],
|
760 |
content_length=element["content_length"],
|
761 |
status=element["status"],
|
|
|
755 |
result = await self.db.query(sql, params, True)
|
756 |
docs_by_status = {
|
757 |
element["id"]: DocProcessingStatus(
|
758 |
+
content=element["content"],
|
759 |
content_summary=element["content_summary"],
|
760 |
content_length=element["content_length"],
|
761 |
status=element["status"],
|