pub fn text_embeddings(
model: &FastembedModel,
ndims: Option<usize>,
) -> Result<Local<Embedding>, FastembedError>Expand description
The local embedding wire of model at ndims dimensions, named
fastembed and addressing the model by its fastembed name. None
takes the width from the model metadata, which errors for models
fastembed does not know.