init
Browse files- 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 |
-
"
|
| 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 |
|