document-qa-fe

Document QA — Frontend

Next.js (App Router) frontend for document-qa-api, a hybrid-retrieval RAG backend. Ask questions about uploaded documents and watch the answer stream in token-by-token over Server-Sent Events.

Features

Getting Started

cp .env.local.example .env.local   # set NEXT_PUBLIC_API_URL to your backend
npm install
npm run dev

Open http://localhost:3000.

Environment Variables

Variable Description
NEXT_PUBLIC_API_URL Base URL of the document-qa-api backend (e.g. http://localhost:8000)