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