Skip to main content

embedding_coverage

Function embedding_coverage 

Source
pub fn embedding_coverage(
    conn: &Connection,
    namespace: Option<&str>,
) -> Result<(u64, u64)>
Expand description

#1598 โ€” (total_rows, rows_with_embeddings) for the reembed dry-run plan, optionally namespace-filtered. COUNT(embedding) counts non-NULL values, so the missing count is the difference.

ยงErrors

Returns the underlying SQLite error.