ChatGemini is a Streamlit web application that allows users to upload multiple PDF files and ask questions about their content. The application leverages Google Gemini, LangChain, and FAISS to process PDF text, create embeddings, and provide answers based on user queries.
- Upload multiple PDF files and process their content.
- Split PDF text into manageable chunks using LangChain.
- Generate embeddings for text chunks using Google Gemini.
- Store and retrieve embeddings efficiently using FAISS.
- Answer user questions based on the processed PDF content.
└── ChatGemini/
├── LICENSE
├── app.py
├── faiss_index
│ ├── index.faiss
│ └── index.pkl
└── requirements.txt.
| File | Summary |
|---|---|
| requirements.txt | Lists all the Python packages that are required for your project to run. |
| app.py | This file contains the main logic and functionality of your Streamlit web application. |
Requirements
Ensure you have the following dependencies installed on your system:
- Python:
version 3.12.4
- Clone the ChatGemini repository:
git clone https://github.com/asmitdash/ChatGemini- Change to the project directory:
cd ChatGemini- Install the dependencies:
pip install -r requirements.txtUse the following command to run ChatGemini:
streamlit run app.pyThe ChatGemini application is deployed and accessible online. You can visit the deployed version using the following link: