-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use it with PDF instead of txt? #41
Comments
Thanks for your attention. Currently, we don't offer support for PDF files. However, you can extract the content using OCR and convert it into a TXT file. We will consider adding OCR support in future updates. |
yeah,` that's what I did XD, but it can be used with LLama 3.2, I'm trying and it just stays in Loop XD. Terminal: INFO:lightrag:Logger initialized for working directory: ./ INFO:lightrag:Load KV full_docs with 0 data I'll leave the code here:
|
and if I comment this line: I get this error: INFO:lightrag:Logger initialized for working directory: ./ INFO:lightrag:Load KV full_docs with 0 data
|
yeah so am i working on this while ensuring the LLM can understand inherent math and code logic within these PDFs in the database |
Could you provide more details about the specific runtime environment? |
Are you running your code in Jupyter notebook? If so, do not comment This function is for 1. Allowing the execution of asynchronous code in Jupyter Notebook.& 2.Solving the problems that arise when initiating a new event loop within an existing event loop. |
Yeah it was in Jupyter Notebook, but it always stays in the loop, and never responds |
Maybe you can use a library such as Marker to parse the document first? Then pass the text output to LightRAG |
I'm trying to use this for PDF files but I don't see any PDF examples.
The text was updated successfully, but these errors were encountered: