embeddings • Rust AI Agent SDK
embeddings: Synchronous embeddings function (batch)
embeddings
Function
</div>
This function is defined in the extras module.
Synchronous embeddings function (batch)
Signature
def embeddings(texts: &[&str], model: Option<&str>) -> crate::error::Result<Vec<Vec<f32>>>Parameters
ParamField
&[&str]No description available.
ParamField
Option<&str>No description available.
Uses
embed
Source
View on GitHubpraisonai/src/parity/extras.rs at line 527