Skip to main content

embed

Function
This function is defined in the extras module.
Synchronous embedding function

Signature

Parameters

&str
required
No description available.
Option<&str>
required
No description available.

Returns

crate::error::Result<Vec<f32>>
The result of the operation.

Uses

  • unwrap_or

Source

View on GitHub

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

Rust Embeddings

Rust Embedding

Rust Vector Store