This is a local chat app for querying PDFs using embeddings and a language model.
We use FastAPI for the backend service. To set up:
cd backend
uv venv
uv pip install -r requirements.txt
uvicorn main:app --reload --host 0.0.0.0 --port 8000The API docs are available at http://localhost:8000/docs.
We use Vite + React + TypeScript + Tailwind CSS + shadcn UI.
cd frontend
pnpm i
pnpm run devOpen http://localhost:5173 in your browser.
- Upload PDFs to index their content.
- Semantic search over documents.
- Streaming chat responses via SSE.
- Persistent chat history and attachments.