This repo now includes:
backend/: FastAPI API with local ASR (faster-whisper), Cerebras cloud LLM, MongoDB storage, and optional local retrieval (FAISS).frontend/: Next.js app replacing Streamlit UI.
- Install backend deps:
pip install -r backend/requirements.txt- Install frontend deps:
cd frontend
npm install
cd ..-
Start MongoDB and set backend Cerebras API key in
.env. -
Run both services with one command:
./scripts/dev.sh- Frontend:
http://localhost:3000 - Backend docs:
http://localhost:8000/docs
- Legacy Streamlit files are archived under
legacy/for reference. - Set frontend API URL in
frontend/.env.localfromfrontend/.env.exampleif needed.