andrewnguonly / Lumos

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

Chat with PDF file in browser? #131

Closed NeverOccurs closed 7 months ago

NeverOccurs commented 8 months ago

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

andrewnguonly commented 8 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 8 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 8 months ago

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

andrewnguonly commented 7 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.