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