Spaces:
Paused
Paused
Commit History
-
feat: HF Spaces deployment — FAISS retriever, single-container Docker build
vksepm +1: Claude Haiku 4.5Major architecture changes for HF Spaces: - Replaced pgvector+PostgreSQL with FAISS in-memory index (loaded from HF Dataset at startup) - Replaced multi-container Docker Compose with single-container root Dockerfile - Frontend + backend + nginx + supervisord in one image, port 7860 - Corpus now from pre-embedded HF Dataset (DreamyDetective/agentic-rag-chunks) - SQLite for auth/logging, no pgvector needed - entrypoint.sh → init_db → supervisord startup sequence - nginx.hf.conf routes port 7860 to uvicorn at :8000 - Models (SentenceTransformer, CrossEncoder) baked into image at build time New files: - Dockerfile (root) - single-container build - entrypoint.sh - startup script - nginx.hf.conf - nginx config for port 7860 - supervisord.conf - process manager - build_dataset.py - standalone corpus building script - backend/scripts/build_hf_dataset.py - backend variant - docs/HF Spaces Deployment Guide.md - full deployment walkthrough - docs/Build Dataset Guide.md - corpus build guide Modi…635dd02