Skip to content

This repo implements a GUI for Chatting with your PDF files using GeminiAI embedding and LLM via API.

Notifications You must be signed in to change notification settings

thickkoezz/GeminiAI-PDFChat

 
 

Repository files navigation

Chat with PDF

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.

image (tested on Windows 11, using wsl, run on 19-May-2025)

Clone the Repo:

Clone the repository.

git clone https://github.com/djiwandou/GeminiAI-PDFChat.git

Environment Setup

In 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.txt

GeminiAI API Key

You 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=

Run the WebApp:

streamlit run PaLM_ChatPDF.py

Detail code explanation

chat_with_pdf

See detail code explanation here Detail-code-exp

About

This repo implements a GUI for Chatting with your PDF files using GeminiAI embedding and LLM via API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 71.1%
  • Python 28.9%