mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Correctly construct the Embeddings struct
This commit is contained in:
parent
58eab9a018
commit
cc4bd54669
3 changed files with 21 additions and 8 deletions
|
@ -475,7 +475,7 @@ impl<F> Embeddings<F> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Append a flat vector of embeddings a the end of the embeddings.
|
||||
/// Append a flat vector of embeddings at the end of the embeddings.
|
||||
///
|
||||
/// If `embeddings.len() % self.dimension != 0`, then the append operation fails.
|
||||
pub fn append(&mut self, mut embeddings: Vec<F>) -> Result<(), Vec<F>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue