Rename the ArroyWrapper/HannoyWrapper into VectorStore

This commit is contained in:
Clément Renault
2025-07-29 17:30:02 +02:00
committed by Louis Dureuil
parent 9a2a40a4fa
commit 4d3a9dc43e
10 changed files with 31 additions and 33 deletions

View File

@ -45,13 +45,13 @@ const HANNOY_EF_CONSTRUCTION: usize = 48;
const HANNOY_M: usize = 16;
const HANNOY_M0: usize = 32;
pub struct HannoyWrapper {
pub struct VectorStore {
quantized: bool,
embedder_index: u8,
database: hannoy::Database<Unspecified>,
}
impl HannoyWrapper {
impl VectorStore {
pub fn new(
database: hannoy::Database<Unspecified>,
embedder_index: u8,