andrewnguonly / Lumos

A RAG LLM co-pilot for browsing the web, powered by local LLMs
MIT License
1.36k stars 97 forks source link

Chat with PDF file in browser? #131

Closed NeverOccurs closed 5 months ago

NeverOccurs commented 6 months ago

Can it do QA based on PDF files opened in Chrome browser?

andrewnguonly commented 6 months ago

This functionality is not supported now, but I'll definitely consider adding it.

I'm not sure how this would be implemented from a technical standpoint. I need to do some research. Ideally, a solution would support any file type that can be opened by a browser (pdf, docx, etc).

NeverOccurs commented 6 months ago

This functionality is not supported now, but I'll definitely consider adding it.

I'm not sure how this would be implemented from a technical standpoint. I need to do some research. Ideally, a solution would support any file type that can be opened by a browser (pdf, docx, etc).

Thanks! Really looking forward to it.

andrewnguonly commented 6 months ago

I'll keep this issue open so I know to work on it.

andrewnguonly commented 5 months ago

Workaround: PDFs can be uploaded to Lumos, and "chatting" with the PDF will work as if the PDF were on the current web page.

I'll close this issue for now. I don't foresee supporting parsing PDFs directly from the browser in the near future. Browsers render PDFs with special applications, which makes retrieval of the content difficult from a Chrome extension.