This GitHub repository hosts a Python-based program designed for advanced PDF processing and interaction. The program consists of two main components: PDFContextExtractor and PDFSearchAndDisplay. The PDFContextExtractor uses LangChain for contextual information retrieval from PDF documents, enhanced by AI capabilities from OpenAI's models. The PDFSearchAndDisplay class, leveraging PyMuPDF and pdfplumber, searches PDF documents for specific contexts, highlights them, and captures screenshots of pages with significant highlights. This tool is particularly useful for parsing and visually annotating PDFs based on context queries, suitable for academic research, document analysis, and automated report generation.
This Python tool integrates PDFContextExtractor and PDFSearchAndDisplay for PDF analysis. It extracts contexts using LangChain and OpenAI, highlights them in the PDF, and saves screenshots of relevant pages. Ideal for research and document processing.
harmindersinghnijjar/gpt-4-pdf
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This Python tool integrates PDFContextExtractor and PDFSearchAndDisplay for PDF analysis. It extracts contexts using LangChain and OpenAI, highlights them in the PDF, and saves screenshots of relevant pages. Ideal for research and document processing.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published