IsmatS commited on
Commit
c9b6ede
·
1 Parent(s): 55464eb
Files changed (1) hide show
  1. scripts/ingest_pdfs.py +1 -1
scripts/ingest_pdfs.py CHANGED
@@ -254,7 +254,7 @@ def ingest_pdf(pdf_path: str) -> Dict:
254
  "metadata": {
255
  "pdf_name": pdf_name,
256
  "page_number": estimated_page,
257
- "text": chunk
258
  }
259
  })
260
 
 
254
  "metadata": {
255
  "pdf_name": pdf_name,
256
  "page_number": estimated_page,
257
+ "content": chunk # Changed from "text" to "content" to match API expectations
258
  }
259
  })
260