Rename embed_one to embed_search and embed_chunks* to embed_index*

This commit is contained in:
Louis Dureuil 2025-02-20 11:36:42 +01:00
parent 8d2d9066ba
commit 4a2643daa2
No known key found for this signature in database
11 changed files with 36 additions and 31 deletions

View file

@ -113,7 +113,7 @@ impl Embedder {
}
}
pub fn embed_chunks(
pub fn embed_index(
&self,
text_chunks: Vec<Vec<String>>,
threads: &ThreadPoolNoAbort,
@ -134,7 +134,7 @@ impl Embedder {
}
}
pub(crate) fn embed_chunks_ref(
pub(crate) fn embed_index_ref(
&self,
texts: &[&str],
threads: &ThreadPoolNoAbort,