mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-12 06:36:33 +00:00
WIP
- manual embedder - multi embedders OK - clippy + tests OK
This commit is contained in:
@@ -31,6 +31,10 @@ impl<F> Embeddings<F> {
|
||||
Ok(this)
|
||||
}
|
||||
|
||||
pub fn embedding_count(&self) -> usize {
|
||||
self.data.len() / self.dimension
|
||||
}
|
||||
|
||||
pub fn dimension(&self) -> usize {
|
||||
self.dimension
|
||||
}
|
||||
|
Reference in New Issue
Block a user