Spaces:
Running
Running
Commit History
-
Use CPU-only PyTorch to fix HF Spaces build timeouts Running
rdmlx +1: Claude Opus 4.6The full PyTorch package (~2GB) was causing builds to hang on free-tier cpu-basic hardware. CPU-only wheel is ~200MB. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>de3e29e -
Add BGE instruction prefix for query embeddings
rdmlx +1: Claude Opus 4.6BGE models are designed to use instruction prefixes for queries (not documents). Adding the prefix improves retrieval quality by better aligning query embeddings with pre-computed document embeddings. Addresses dssjon/biblos#35. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>5763d3f
-
Simplify API: Remove book/testament filters, search entire Bible by default
rdmlx- Remove books and testament optional parameters from SearchRequest - Always search all 66 books (Old and New Testament) - Update all documentation to reflect simplified API - Remove Book Abbreviations section from README - Update all code examples to use only query and limit parametersd9c155c -
Add API test script and remove deployment guide
rdmlx- Add test_api.sh: Comprehensive test suite for API validation - Tests health check endpoint - Validates semantic search with query 'what did jesus say about eternal life' - Asserts top result is John 17 with similarity >= 0.77 - Tests testament filter functionality - Checks interactive documentation accessibility - All 8 tests passing ✓ - Remove DEPLOYMENT_GUIDE.md (no longer needed post-deployment) Test results: Book jhn, Chapter 17, Similarity 0.789 (> 0.77 threshold)b3dfc35 -
Update documentation with live API URLs
rdmlx- Replace placeholder URLs with actual Space URL - Update total_embeddings count to 6407 - Add clickable link to interactive docs - Mark API as live and publicly accessible7817fe3 -
Fix cache permissions: Set HF cache to /tmp for Docker container
rdmlx- Add HF_HOME, TRANSFORMERS_CACHE env vars - Resolves PermissionError at /.cache - Models will download to /tmp/huggingface (writable)82dad5b -
Initial deployment: Biblos Semantic Search API with FastAPI and BGE embeddings
rdmlx- FastAPI app with semantic search endpoint - BGE-large-en-v1.5 model for embeddings - All 66 Bible books with pre-computed embeddings (143MB) - Docker configuration for HF Spaces - CORS enabled for frontend integration - Health check and search endpoints - Comprehensive API documentation3029aa1 -
initial commit
Verified signature04139be