Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

embeddings

Function
This function is defined in the extras module.
Synchronous embeddings function (batch)

Signature

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

Parameters

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

Returns

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

Uses

  • embed

Source

View on GitHub

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

Rust Embeddings

Rust Embedding

Rust Vector Store