An AI-powered application that lets you upload PDFs and ask questions about their contents. It uses NLP techniques to retrieve relevant information and provide summarized answers.
- Upload any PDF document.
- Ask natural language questions about the content.
- Get summarized answers using AI.
- Backend: FastAPI, LangChain, HuggingFace, ChromaDB.
- Frontend: Next.js (App Router).
Use uv
(fast Python package manager) and create a virtual environment:
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -r requirements.txt
uvicorn main:app --reload
This will start the backend on: http://localhost:8000
Create a .env file in the frontend/ directory with the following content:
NEXT_PUBLIC_API_URL=http://localhost:8000
cd frontend
npm install
npm run dev
The frontend will be available at: http://localhost:3000
