Skip to main content

Embedding

Type Alias Embedding 

Source
pub type Embedding = Vec<f32>;
Expand description

An embedding vector (L2-normalized by convention, so cosine ranks like the inner product).

Aliased Typeยง

pub struct Embedding { /* private fields */ }