mirror of
https://github.com/perstarkse/minne.git
synced 2026-11-19 05:18:18 +01:00
fix: load embedding dimensions once per persist and trim vector search select.
This commit is contained in:
1 parent
28e8ede478
commit
4e8a58fff1
9 files changed
+90
-52
No files matched your search
@@ -320,7 +320,7 @@ mod tests {
|
||||
"dimension migration test chunk".into(),
|
||||
"user1".into(),
|
||||
);
|
||||
TextChunk::store_with_embedding(chunk, vec![0.1, 0.2, 0.3], &services.db)
|
||||
TextChunk::store_with_embedding(chunk, vec![0.1, 0.2, 0.3], 3, &services.db)
|
||||
.await
|
||||
.expect("store chunk at old dimension");
|
||||
|
||||
|
||||
Reference in new issue
Block a user