Spaces:
Sleeping
Sleeping
Commit History
-
Update backend: add new services, update dependencies, and improve configuration
44094a0
-
Update product database and vector store management with new features and optimizations
- Updated `init_state.json` and `products.db` with new file versions. - Added ONNX model files for CLIP text and vision. - Enhanced `ProductDatabase` class with methods for deleting and updating products. - Improved `VectorStoreManager` to handle existing embeddings and added collection deletion functionality. - Introduced performance optimizations in the reranking service and vector store interactions. - Added performance testing script using Locust. - Created OpenAPI documentation for the API endpoints. - Removed outdated demo test script and added test cases for product CRUD operations.fe2866c -
Improve documentation and code quality
e9649df
-
Fix health endpoint: always return HTTP 200 for Hugging Face Spaces detection
3efd810 -
Fix Hugging Face Spaces health check: disable reloader and ensure proper HTTP status codes
b9b5561 -
Track app/data/ directory with Git LFS for Hugging Face compatibility
fd2ad8b -
Fix indentation error
ccc9c24 -
Make embedding generation non-blocking: run in background thread so app starts immediately
fe771dc
-
Revert ChromaDB path handling - use simple path resolution
5480b15 -
Fix ChromaDB path resolution to avoid double /app/app/ directory
df1b663 -
Fix ChromaDB persistent storage: use absolute paths and auto-create directory
4184c6a -
Fix indentation error in app/main.py
fa63696 -
Skip existing embeddings on startup and add invalid image cleanup script
6b0e776 -
Add PostgreSQL/pgvector support with auto-migration and Neon integration
d34ac77 -
Fix indentation in main.py
1815e11 -
Add FastAPI application entry point and update README for Image Search API
- Introduce app.py as the entry point for the FastAPI application in Hugging Face Spaces. - Update README with new title, description, and configuration details for the Image Search API. - Revise environment variable handling in main.py to support platform-specific configurations.53de9b9 -
Enhance vector store management and CLIP model integration
- Update .gitignore to exclude additional generated data directories. - Improve CLIP model initialization in main.py with detailed comments on model compatibility. - Add embedding dimension retrieval in ClipEmbeddingService for better model handling. - Implement model compatibility checks in VectorStoreManager to ensure consistent embedding usage. - Enhance state management to include model information and cleanup logic for outdated embeddings. - Validate embedding dimensions during search to prevent mismatches with stored embeddings.317193a -
Remove demo configuration and related files to streamline vector store setup. Update vector store configuration to default to demo settings and adjust collection name handling.
03ab35c -
Remove DEMO_MODE environment variable from Docker configurations and update README with cloud deployment limitations for CLIP models. Enhance main application to load environment variables from a .env file and support multiple database types with a wrapper for non-SQLite databases.
c6ddac7
-
Remove legacy migration and setup scripts; introduce Render deployment configuration and lightweight requirements for free tier. Update README for quick start instructions and enhance catalog UI with modern e-commerce features.
4e4132f
-
Initialize SDK and fix vector store issues
- Add Python SDK with client, models, and examples - Add multi-vector-store support (ChromaDB, Pinecone, Qdrant, Weaviate, PgVector) - Fix image embedding generation with robust retry logic - Fix ChromaDB metadata issue (remove text embeddings from metadata) - Fix search parameter mismatch (query_embedding -> query_vector) - Fix batch processing to handle individual product failures - Add comprehensive debugging and error logging - Add auth, database adapters, and config management - Add Docker support with docker-compose - Update .gitignore with project-specific entries - Remove cached files from trackinga475b1f -
Initial commit: Advanced Image Search System with organized services and production features
42f296c