Skip to content

Query With PDFs is a web application built in Python that allows users to upload PDF files, ask questions about the content of the PDFs, and receive answers along with key points extracted from the documents. The application utilizes advanced language understanding models to process user queries and extract meaningful information from the PDFs

License

Notifications You must be signed in to change notification settings

neerajcodes888/Query-With-PDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query With PDFs

Query-With-PDF

Table of Contents

Description

Query With PDFs is a Python-based web application that enables users to upload PDF files, ask questions related to the content of the PDFs, and obtain answers along with key points extracted from the documents. The application leverages state-of-the-art language understanding models to process user queries and extract meaningful information from the uploaded PDF files.

Features

  • PDF Upload: Users can easily upload PDF files through the user-friendly interface.
  • Question Asking: Users can ask questions in natural language about the content of the uploaded PDFs.
  • Key Points Extraction: The application automatically extracts key points and relevant information from the PDFs to provide concise summaries.
  • Answer Generation: Using advanced language understanding models, the application generates accurate answers to user questions based on the content of the uploaded PDFs.

Technology Stack

  • Python 3.8: The primary programming language used for development.
  • Streamlit 1.0: Streamlit is utilized as the web application framework to create interactive and responsive user interfaces.
  • Langchain Google GenAI: Langchain Google GenAI is a cutting-edge language understanding model developed by Langchain in collaboration with Google. It is specifically tailored for extracting key points and generating answers from textual data such as PDF documents.
  • LLM (Language Learning Model): LLM is a sophisticated language understanding model designed to process natural language queries with high accuracy and efficiency.

Installation

  1. Clone the repository to your local machine:
git clone Query-With-PDF
cd Query-With-PDFs
  1. Install the required dependencies:
streamlit
google-generativeai
python-dotenv
langchain
PyPDF2
chromadb
faiss-cpu
langchain_google_genai

Usage

  1. Run the application:
streamlit run app.py
  1. Access the application through a web browser at http://localhost:8501.
  2. Upload a PDF file using the provided interface.
  3. Ask questions related to the content of the uploaded PDF.
  4. Receive detailed answers and key points extracted from the PDF.

Demo

For a live demonstration, you can visit our demo website.

Ask Questions to Your PDF

Ask_QueryWithPDFs

In this demo video, you can see how users can ask questions related to the content of their uploaded PDF files. The application provides a user-friendly interface for entering natural language queries. The advanced language understanding models process these queries to generate accurate answers based on the content of the PDF.

Ask Question

Get Key Points of Your PDF

KeyPoints_QueryWithPDFs

In this demo video, users can observe how the application automatically extracts key points and relevant information from the uploaded PDFs. These key points provide concise summaries of the document's content, enabling users to quickly grasp the essential information contained within the PDF.

Get Key Points

Contributing

Contributions are welcome! If you have any suggestions, enhancements, or bug fixes, please feel free to submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Langchain Google GenAI for providing state-of-the-art language understanding capabilities.
  • LLM for its advanced natural language processing functionalities.
  • Special thanks to the contributors and developers who have contributed to this project.

Contact

For any inquiries or support, please contact

About

Query With PDFs is a web application built in Python that allows users to upload PDF files, ask questions about the content of the PDFs, and receive answers along with key points extracted from the documents. The application utilizes advanced language understanding models to process user queries and extract meaningful information from the PDFs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages