pub fn generate_embeddings(
model: EmbeddingModel<'_>,
text: &[String],
) -> Result<EmbeddingsResult, Error>Expand description
Generate embeddings using the provided model and collection of text
pub fn generate_embeddings(
model: EmbeddingModel<'_>,
text: &[String],
) -> Result<EmbeddingsResult, Error>Generate embeddings using the provided model and collection of text