Skip to main content

build_embedding_index

Function build_embedding_index 

Source
pub fn build_embedding_index(
    provider: &dyn EmbeddingProvider,
    reader: &MicroscopeReader,
    max_depth: u8,
    output_path: &Path,
) -> Result<(), String>
Expand description

Build embedding index file from a provider and reader. Only embeds blocks at depth 0..=max_depth.