Rajan Sharma commited on
Commit
521ffa1
·
verified ·
1 Parent(s): 017d770

Update upload_ingest.py

Browse files
Files changed (1) hide show
  1. upload_ingest.py +1 -2
upload_ingest.py CHANGED
@@ -1,4 +1,3 @@
1
- # upload_ingest.py
2
  from typing import List, Dict, Optional
3
  from pathlib import Path
4
 
@@ -18,5 +17,5 @@ def extract_text_from_files(paths: Optional[List[str]]) -> Dict[str, List[str]]:
18
  artifacts.append({"path": p, "type": ext})
19
  except Exception:
20
  pass
21
- # Add PDF parsing later if needed
22
  return {"chunks": chunks, "artifacts": artifacts}
 
 
1
  from typing import List, Dict, Optional
2
  from pathlib import Path
3
 
 
17
  artifacts.append({"path": p, "type": ext})
18
  except Exception:
19
  pass
20
+ # (PDF/Docx parsing can be added later.)
21
  return {"chunks": chunks, "artifacts": artifacts}