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.

embed

AsyncMethod
This is a method of the EmbeddingAgent class in the embedding module.
Generate embedding for a single text. # Arguments * text - Text to embed # Returns Vector of floats representing the embedding

Signature

async def embed(&self, text: &str) -> Result<Vec<f32>>

Parameters

text
&str
required
No description available.

Returns

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

Rust Embeddings

Rust Embedding

Rust Vector Store