This Repo implements chat with your PDF via a GUI. This Code utilized Gemini AI'ss LLM and Embedding models for information retreival from your documents.
(tested on Windows 11, using wsl, run on 19-May-2025)
Clone the repository.
git clone https://github.com/djiwandou/GeminiAI-PDFChat.gitIn order to set your environment up to run the code here, first install all requirements: tested in Windows 11 using WSL
- init venv
python3 -m venv venv- activate venv
source venv/bin/activate- install requirements
pip install -r requirements.txtYou will need the PaLM API key to run this, get your Gemini AI API key from here (Free!)
In the .env set your API key.
GOOGLE_API_KEY=streamlit run PaLM_ChatPDF.pySee detail code explanation here Detail-code-exp
