mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-04-12 09:31:41 +02:00
detail comments
This commit is contained in:
parent
a8c407fa36
commit
43c8a206b4
@ -218,7 +218,7 @@ pub fn write_from_bbqueue(
|
||||
arroy_writers.get(&embedder_id).expect("requested a missing embedder");
|
||||
let mut embeddings = Embeddings::new(*dimensions);
|
||||
let all_embeddings = asvs.read_all_embeddings_into_vec(frame, aligned_embedding);
|
||||
// FIXME: /!\ Case where #embeddings is divisor of `dimensions` would still pass
|
||||
// FIXME: /!\ Case where number of embeddings is divisor of `dimensions` would still pass
|
||||
if *dimensions!= 0 && all_embeddings.len() % *dimensions != 0 {
|
||||
return Err(Error::UserError(UserError::InvalidVectorDimensions {
|
||||
expected: *dimensions,
|
||||
|
Loading…
x
Reference in New Issue
Block a user