Document research and theme identification application with multi-level citation capabilities.
Redoc is a chatbot-style application that can:
- Analyze 75+ documents
- Identify common themes across documents
- Provide cited responses to queries
- Support multi-level citation (document, paragraph, sentence)
- Frontend: React with TypeScript, Tailwind CSS
- Backend: FastAPI, Python
- Document Processing: Langchain, ChromaDB, Postgresql
backend/: FastAPI backend servicefrontend/: React frontend applicationtests/: Test suite (backend unit/integration, frontend unit, E2E tests)docs/: Documentation (API docs, user guide)dataset/: Sample documents (PDF files)
- Node.js 18+
- Python 3.10+
- npm or yarn
-
Clone the repository:
git clone https://github.com/Abhinavexists/Redoc.git cd Redoc -
Install backend dependencies:
cd backend python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -r requirements.txt
Recommended: Install with
uv(faster, more reliable):cd backend uv venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv pip install -e .
This method leverages the
pyproject.tomlfile for more consistent dependency management. -
Install frontend dependencies:
cd frontend npm install
# (http://localhost:8000)
cd backend
python run.py# Frontend (http://localhost:3000)
npm run devDemo.mp4
MIT