https://github.com/user-attachments/assets/c918a763-9ffd-48a2-8f77-0860f9fa8f94
dev
- Generate a new Gemini API key from aistudio@google
- Clone the repo and set the API key in the
.env
file
pnpm i
mv .env.example .env
vim .env # edit the .env file
pnpm run dev
- Open the browser and navigate to
http://localhost:5173
prod build
- Generate a new Gemini API key from aistudio@google
- Clone the repo and set the API key in the
.env
file
pnpm i
mv .env.example .env
vim .env # edit the .env file
pnpm run build
pnpm preview
Limitations
- This app stores pdf files in a local directory. If I have time, I'd like to make it store in db or cloud storage
- The app is not optimized for mobile devices
- I use Gemini as a AI model because it's free to use, enable to deal with pdf files. I think claude models are better for this task.
- I need to use JSON mode to extract information.
- I need to optimise the prompt for better results.