mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Rename embed_one to embed_search and embed_chunks* to embed_index*
This commit is contained in:
parent
8d2d9066ba
commit
4a2643daa2
11 changed files with 36 additions and 31 deletions
|
@ -250,7 +250,7 @@ impl Embedder {
|
|||
Ok(all_embeddings)
|
||||
}
|
||||
|
||||
pub fn embed_chunks(
|
||||
pub fn embed_index(
|
||||
&self,
|
||||
text_chunks: Vec<Vec<String>>,
|
||||
threads: &ThreadPoolNoAbort,
|
||||
|
@ -271,7 +271,7 @@ impl Embedder {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) fn embed_chunks_ref(
|
||||
pub(crate) fn embed_index_ref(
|
||||
&self,
|
||||
texts: &[&str],
|
||||
threads: &ThreadPoolNoAbort,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue