Skip to content

MultiPDF Chat App lets you upload multiple PDFs and ask questions about their content. Powered by LangChain, OpenAI Embeddings, and FAISS, it retrieves relevant information quickly and provides intelligent answers via a sleek Streamlit interface.

Notifications You must be signed in to change notification settings

avr-varshan/multipdf-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiPDF Chat App 📚

Overview

The MultiPDF Chat App is a Python application that allows you to upload multiple PDF documents and chat with the data. You can ask questions about the PDFs using natural language, and the app will provide relevant responses based on the content of the documents.

Features

  • Upload multiple PDF documents
  • Chat with the content of the PDFs
  • Ask natural language questions
  • Receive accurate responses based on PDF content

How It Works

  1. PDF Loading: The app reads multiple PDF documents and extracts their text content.
  2. Text Chunking: The extracted text is divided into smaller chunks for efficient processing.
  3. Language Model: Utilizes a language model to generate vector representations (embeddings) of the text chunks.
  4. Similarity Matching: The app compares your question with text chunks and identifies the most semantically similar ones.
  5. Response Generation: The selected chunks are passed to the language model, which generates a response based on the PDF content.

Tech Stack

  • Python
  • Streamlit
  • LangChain
  • OpenAI Embeddings
  • FAISS
  • PyPDF2

Installation

  1. Clone this repository:

    git clone https://github.com/avr-varshan/multipdf-chat-app.git

About

MultiPDF Chat App lets you upload multiple PDFs and ask questions about their content. Powered by LangChain, OpenAI Embeddings, and FAISS, it retrieves relevant information quickly and provides intelligent answers via a sleek Streamlit interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published