A web application that allows users to upload PDF documents and ask questions about their content using AI-powered natural language processing.
- Node.js (v18 or higher)
- Python (v3.8 or higher)
- Google Gemini API key
- Navigate to the backend directory:
cd backend## Features
- PDF Upload: Upload any PDF document for analysis
- Question Answering: Ask questions about the content of your PDF
- AI-Powered Responses: Get intelligent answers using Google's Gemini AI model
- Responsive UI: Clean, modern interface that works on desktop and mobile devices
- FastAPI: High-performance Python web framework
- LangChain: Framework for developing applications powered by language models
- PyMuPDF: PDF processing library for text extraction
- Google Gemini AI: Advanced language model for question answering
- Next.js: React framework for building the user interface
- React: JavaScript library for building user interfaces
- Tailwind CSS: Utility-first CSS framework for styling
├── backend/ # FastAPI server │ ├── main.py # Main application file with API endpoints │ └── requirements.txt # Python dependencies └── frontend/ # Next.js client ├── app/ # Next.js app directory ├── components/ # React components ├── lib/ # Utility functions and API clients ├── public/ # Static assets └── svg/ # SVG components
- Node.js (v18 or higher)
- Python (v3.8 or higher)
- Google Gemini API key
- Navigate to the backend directory: cd backend
- Create a virtual environment: python -m venv venv