Daniel.y commited on
Commit
5a7b64e
·
unverified ·
2 Parent(s): 883f085 5afadf0

Merge pull request #1062 from ericshao/fix-postgres

Browse files

Fix PGDocStatusStorage content extraction for DocProcessingStatus

Files changed (1) hide show
  1. lightrag/kg/postgres_impl.py +1 -1
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=result[0]["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"],