load_buffer

Function load_buffer 

Source
pub fn load_buffer(index_path: &Path) -> Result<Vec<Array2<f32>>>
Expand description

Load buffered embeddings from buffer.npy.

Returns an empty vector if buffer.npy doesn’t exist. Uses buffer_lengths.json to split the flattened array back into per-document arrays.