Skip to main content

embed_batch

Function embed_batch 

Source
pub async fn embed_batch(texts: &[String]) -> Vec<Vec<f32>>
Expand description

Embed multiple texts in batch. More efficient than individual calls.