Add necessary accessors

This commit is contained in:
Louis Dureuil
2025-10-02 11:12:51 +02:00
parent c29bdcae23
commit 91275adb76
3 changed files with 14 additions and 1 deletions

View File

@@ -1983,6 +1983,11 @@ impl Index {
Ok(sizes)
}
/// The underlying env for raw access
pub fn raw_env(&self) -> &heed::Env<WithoutTls> {
&self.env
}
}
pub struct EmbeddingsWithMetadata {