aembed • Rust AI Agent SDK

aembed: Async embedding function

aembed

Async

Function

</div>

This function is defined in the extras module.

Async embedding function

Signature

python
async def aembed(text: &str, model: Option<&str>) -> crate::error::Result<Vec<f32>>

Parameters

ParamField &str

No description available.

ParamField Option&lt;&str&gt;

No description available.

Uses

  • embed

Source

View on GitHub

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


Related Documentation