Skip to content

Rahul130405/GUI-PDF-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 InsightPDF: AI-Powered Document Intelligence


🚀 Transform static PDFs into interactive conversations.

InsightPDF is a high-performance RAG (Retrieval-Augmented Generation) application that allows users to upload complex documents and query them in real-time. Powered by Groq's LPL (Language Processing Unit) and LLaMA 3, it delivers near-instant AI responses with deep contextual understanding.


🔥 Key Highlights

  • ⚡ Lightning Fast Inference: Leverages Groq's API for sub-second response times using LLaMA 3.
  • 🧠 Intelligent RAG Pipeline: Uses LangChain and FAISS for efficient vector similarity search.
  • 🎨 Modern UX/UI: A sleek, responsive interface built with Next.js 14, Tailwind CSS, and Framer Motion.
  • 📂 Multi-Page Context: Extracts and processes text from large PDFs while maintaining structural context.
  • 🔒 Privacy First: Documents are processed securely and stored in-memory for session-based privacy.

🧠 Tech Stack

Layer Technologies
Frontend Next.js 14 (App Router), TypeScript, Tailwind CSS, Framer Motion, Zustand
Backend FastAPI (Python), Uvicorn, Pydantic
AI / ML Groq API (LLaMA 3.1 8B), LangChain, HuggingFace Embeddings
Vector DB FAISS (Facebook AI Similarity Search)
PDF Engine PyMuPDF (fitz)

⚙️ Installation & Setup

1. Prerequisites

2. Backend Setup

cd backend
python -m venv venv
source venv/bin/scripts/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

3. Frontend Setup

cd frontend
npm install

4. Environment Configuration

Create a .env file in the root directory:

GROQ_API_KEY=your_api_key_here

🌐 Running the Application

  1. Start Backend:
    cd backend
    python main.py
  2. Start Frontend:
    cd frontend
    npm run dev
  3. Access the App: Open http://localhost:3000 in your browser.

💡 Future Roadmap

  • Support for multiple file uploads (Batch Processing).
  • OCR integration for scanned/image-based PDFs.
  • Export chat history to PDF/Markdown.
  • Deployment via Docker & AWS/Vercel.

👨‍💻 Author

Rahul Raj Jaiswal


📄 License

Distributed under the MIT License. See LICENSE for more information.

About

A modern web-based AI assistant that lets users upload PDFs and ask context-aware questions using LLMs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors