A Chrome extension to answer queries based on information provided in uploaded PDF files.
This project introduces a Chrome extension that facilitates query-based interactions with PDF files. Users can upload PDF documents, and the extension will analyze the content to provide relevant answers to queries.
- PDF Parsing: Automatically extracts text and relevant information from uploaded PDF files using
PyPDFLoader
. - Query Handling: Processes user queries and provides accurate responses based on the content of the PDF documents.
- Language Processing: Utilizes Google Generative AI embeddings and chat functionalities through
langchain_google_genai
for document analysis and question answering. - Seamless Integration: Integrated directly into the Chrome browser for convenient usage.
- Uploaded PDF Files: Users can upload PDF files containing information to query.
- Query Handling: Queries from users are processed to generate accurate responses based on the content of the PDF documents.
- PDF Parsing: The extension parses the uploaded PDF files to extract relevant information using
PyPDFLoader
. - Query Handling: Queries from users are processed to generate accurate responses based on the content of the PDF documents.
- Gemini AI Model: Utilizes Google Generative AI model
Gemini-pro
for generating responses to user queries. - Embeddings and Vector Index: Utilizes
GoogleGenerativeAIEmbeddings
andChroma
fromlong-chain
for creating embeddings and vector index. - QA Chain: Utilizes
RetrievalQA
fromlangchain
to perform question answering based on the embeddings and vector index.
- Improved Query Understanding: Enhance natural language processing capabilities for a better understanding of user queries.
- Enhanced User Interface: Improve the user interface for a more intuitive and user-friendly experience.
- Support for More File Formats: Extend support for parsing and analyzing various file formats beyond PDF.
- Form Filling Capability: Develop a form-filling capability to automatically fill forms based on extracted information from PDF files.
- Flask: Micro web framework for Python.
- langchain_community: Library for loading documents.
- langchain: Library for text splitting and chains.
- langchain_google_genai: Library for Google Generative AI embeddings and chat functionalities.
- google.generativeai: Google's Generative AI library.
- Pramit De (email: [email protected]/[email protected]) (Department of CSE, Techno International New Town, West Bengal, India)