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

python
async def aembeddings(texts: &[&str], model: Option<&str>) -> crate::error::Result<Vec<Vec<f32>>>

Parameters

ParamField &[&str]

No description available.

ParamField Option&lt;&str&gt;

No description available.

Uses

  • with_capacity
  • aembed
  • Vec::with_capacity

Source

View on GitHub

praisonai/src/parity/extras.rs at line 542


Related Documentation