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

python
def embeddings(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

  • embed

Source

View on GitHub

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


Related Documentation