pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.26k stars 307 forks source link

Failed Files - Reason: Error extracting text from PDF #16

Closed ValenteMendez closed 1 year ago

ValenteMendez commented 1 year ago

Hi! I am running the code locally, and I keep getting the following error when trying to upload a PDF file:

Failed Files: Reason: Error extracting text from PDF

Has anyone encountered this problem and knows how to solve it?

Thanks!

mhphilip commented 1 year ago

Same here.

Edit: works after installing lib via Homebrew

pashpashpash commented 1 year ago

I forgot to include this dependency in the README. You need to install poppler before running npm start

Ubuntu:

sudo apt-get install -y poppler-utils

Mac:

brew install poppler

ValenteMendez commented 1 year ago

It worked, thank you!