The Chat with PDFs application is a tool that allows users to upload PDF documents and interact with them by asking questions. The app processes the content of uploaded PDFs, splits the text into chunks, and stores it in a vectorized format to enable efficient similarity-based searches. Questions are then answered based on the document content using Google's Generative AI.
Deployed application - Chat-with-PDFs
- PDF Upload: Allows users to upload one or multiple PDF files.
- Text Extraction and Chunking: Extracts and chunks the text content of the PDFs for efficient processing.
- Vector Storage: Uses FAISS (Facebook AI Similarity Search) to store vectorized text chunks, enabling fast retrieval.
- Generative AI for Q&A: Leverages Google’s Generative AI for natural language processing to answer questions based on PDF content.
- Streamlit Interface: Provides an easy-to-use web interface for file upload, question entry, and answer display.
To run this application locally on your system, you need to download few Python libraries:
These can be installed with:
pip install -r requirements.txtStart the Streamlit App: Run the application with:
streamlit run main.pyThis project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
For any inquiries, please contact tusharsoni.info@gmail.com.