This project is cloned from Ask Multiple PDFs and enhanced to support PDFs with images for question and answer tasks. Future improvements include refining HTML styling for better readability and adding functionality for Excel and Word files. Entrepreneurship sample files will also be uploaded to this repository for demonstration purposes. Current version: 1.2
- In version 1.2 Excel files can also be uploaded for Q&A and visual is better with changes in HTML.
- In the future some files can be uploaded by default.
- Conversation can be only about Entrepreneurship subject.
- Chat history might be improved.
- Users can get answer to their questions without selecting or processing files.
The MultiPDF Chat App is a Python application that lets you interact with multiple PDF documents. You can ask questions about the PDFs using natural language, and the application will provide relevant responses based on the documents' content, leveraging a language model to deliver precise answers. Note that the application will only respond to questions pertinent to the loaded PDFs.
The application processes your questions through the following steps:
- PDF Loading: Reads multiple PDF documents and extracts text and image content.
- Text Chunking: Divides extracted text and images into manageable chunks for processing.
- Language Model: Utilizes a language model to generate vector representations (embeddings) of the chunks.
- Similarity Matching: Compares your question to the chunks and identifies the most semantically similar ones.
- Response Generation: Passes selected chunks to the language model, which generates a response based on relevant PDF content.
To install the MultiPDF Chat App, follow these steps:
- Clone the repository to your local machine.
- Install the required dependencies:
pip install -r requirements.txt
