Spaces:
Sleeping
Sleeping
Commit History
-
Refactor test cases for improved readability and consistency
sethmcknight- Simplified multi-line strings in test cases to single-line format for better readability. - Consolidated test case structures by removing unnecessary line breaks. - Updated assertions to be more concise and maintainable. - Added new integration tests for search caching and embedding warmup functionality. - Ensured all tests maintain consistent formatting and style across the test suite.159faf0 -
Implement PostgreSQL with pgvector as ChromaDB alternative (#88)
Seth McKnight* feat: Implement PostgreSQL with pgvector as ChromaDB alternative - Add PostgresVectorService with full pgvector integration - Create PostgresVectorAdapter for ChromaDB compatibility - Update config to support vector storage type selection - Add factory pattern for seamless backend switching - Include migration script with data optimization - Add comprehensive tests for PostgreSQL implementation - Update dependencies and environment configuration - Expected memory reduction: 300-350MB (from 400MB+ to 50-150MB) This enables deployment on Render's 512MB free tier by using persistent PostgreSQL storage instead of in-memory ChromaDB. * Add pgvector init script, update migration docs, and test adjustments * feat: Default to postgres and automate DB init * feat: migrate vector store from ChromaDB to PostgreSQL with pgvector - Replace in-memory ChromaDB with persistent PostgreSQL + pgvector - Add ONNX model quantization for reduced memory footprint - Implement PostgresVectorAdapter wit…9988b25
-
Postgres vector migration (#83)
Seth McKnight* feat: Implement PostgreSQL with pgvector as ChromaDB alternative - Add PostgresVectorService with full pgvector integration - Create PostgresVectorAdapter for ChromaDB compatibility - Update config to support vector storage type selection - Add factory pattern for seamless backend switching - Include migration script with data optimization - Add comprehensive tests for PostgreSQL implementation - Update dependencies and environment configuration - Expected memory reduction: 300-350MB (from 400MB+ to 50-150MB) This enables deployment on Render's 512MB free tier by using persistent PostgreSQL storage instead of in-memory ChromaDB. * Add pgvector init script, update migration docs, and test adjustmentsdca679b