Skip to main content

backfill_missing

Function backfill_missing 

Source
pub async fn backfill_missing(
    store: &dyn DesignSystemStore,
    backend: &Arc<dyn EmbeddingBackend>,
    fallback: Option<&Arc<dyn EmbeddingBackend>>,
) -> Result<usize, EmbedError>
Expand description

Embed every component that does not yet have an embedding. Errors on individual components are logged and do not abort the backfill (matches flint-forge’s backfill_missing best-effort behavior). Returns the count of components successfully embedded.