mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| agent_wrapper | ||
| as_embedding | ||
| as_llm | ||
| client | ||
| embedding_store | ||
| file_catalog | ||
| file_chunker | ||
| file_graph | ||
| file_store | ||
| job | ||
| keyword_index | ||
| service | ||
| tokenizer | ||
| __init__.py | ||
| application_context.py | ||
| base_component.py | ||
| component_registry.py | ||
| prompt_handler.py | ||
| runtime_context.py | ||