Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGemini

license last-commit repo-top-language repo-language-count

Streamlit Python


Overview

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.


Features

  • 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.

Repository Structure

└── ChatGemini/
    ├── LICENSE
    ├── app.py
    ├── faiss_index
    │   ├── index.faiss
    │   └── index.pkl
    └── requirements.txt

Modules

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

Getting Started

Requirements

Ensure you have the following dependencies installed on your system:

  • Python: version 3.12.4

Installation

  1. Clone the ChatGemini repository:
git clone https://github.com/asmitdash/ChatGemini
  1. Change to the project directory:
cd ChatGemini
  1. Install the dependencies:
pip install -r requirements.txt

Running ChatGemini

Use the following command to run ChatGemini:

streamlit run app.py

Acknowledgements


Deployed Application

The ChatGemini application is deployed and accessible online. You can visit the deployed version using the following link:

ChatGemini

About

Chat With Multiple PDF Documents With Langchain And Google Gemini Pro

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages