ReMe/reme
jinliyl eb471d7d94
fix(embedding): reject mismatched embedding dimensions (#330)
* fix(embedding): enforce strict dimension matching for embeddings

- Add _embedding_dim_matches method to validate embedding dimensions
- Reject embeddings with mismatched dimensions instead of padding/truncating
- Drop stale embeddings with wrong dimensions during loading and upsert operations
- Disable embedding store when query dimensions don't match configured dimensions
- Fail health checks when embedding dimensions don't match expected values
- Skip chunks with wrong dimensions during FAISS index rebuild
- Add comprehensive tests for dimension validation behavior

* refactor(file_store): simplify conditional checks in vector search and test assertions

- Combine multiple conditionals into single check for empty FAISS index
- Replace explicit empty list comparison with boolean check for node embedding calls
- Maintain same functional behavior while improving code readability

* fix(embedding): harden dimension validation helpers
2026-07-08 14:23:38 +09:00
..
components fix(embedding): reject mismatched embedding dimensions (#330) 2026-07-08 14:23:38 +09:00
config refactor(embedding): update embedding model initialization and session storage paths (#329) 2026-07-08 12:30:46 +09:00
enumeration Refactor logging levels and add dream schema definitions (#291) 2026-06-24 16:44:03 +08:00
schema refactor(embedding): update embedding model initialization and session storage paths (#329) 2026-07-08 12:30:46 +09:00
steps feat(benchmark): add lme benchmark steps (#326) 2026-07-07 18:53:39 +09:00
utils feat(cli): route bare commands to the running server's real config (#312) 2026-07-01 17:15:48 +08:00
__init__.py refactor(embedding): update embedding model initialization and session storage paths (#329) 2026-07-08 12:30:46 +09:00
application.py refactor(embedding): update embedding model initialization and session storage paths (#329) 2026-07-08 12:30:46 +09:00
constants.py init: reme version 0.4.0 (#284) 2026-06-22 15:41:19 +08:00
reme.py feat(benchmark): add lme benchmark steps (#326) 2026-07-07 18:53:39 +09:00