Skip to main content

load_all_embeddings

Function load_all_embeddings 

Source
pub async fn load_all_embeddings(
    conn: &Connection,
    model: &str,
) -> Result<Vec<StoredEmbedding>, Error>
Expand description

Load all stored embeddings for a given model name.

Returns all rows so the caller can do brute-force cosine search in memory. Prefer ann_search when the sqlite-vec virtual table is available.