mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
WIP
- manual embedder - multi embedders OK - clippy + tests OK
This commit is contained in:
parent
922a640188
commit
12940d79a9
13 changed files with 292 additions and 140 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue