nw9663644-eng opened a new pull request, #356:
URL: https://github.com/apache/hugegraph-ai/pull/356

   ### Summary
   
   Support text-based PDF uploads in the RAG document upload path.
   
   ### Changes
   
   * Add PDF text extraction support in `read_documents()`
   * Use `pypdf` to extract text from PDF files page by page
   * Handle encrypted, unreadable, and scanned-image-only PDFs with clear 
Gradio errors
   * Keep existing TXT and DOCX behavior unchanged
   * Update the demo upload copy to mention TXT, DOCX, and PDF
   
   ### Test
   
   * `python -m py_compile 
hugegraph-llm/src/hugegraph_llm/utils/vector_index_utils.py`
   
   Closes #345
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to