From b368105272a926b85e4848dc86d75c5b25edaf8d Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Wed, 12 Jun 2024 14:02:12 +0200 Subject: [PATCH] Add EmbedderConfigs::into_inner --- milli/src/vector/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/milli/src/vector/mod.rs b/milli/src/vector/mod.rs index 553c8c3c1..c43fa8bd2 100644 --- a/milli/src/vector/mod.rs +++ b/milli/src/vector/mod.rs @@ -152,6 +152,10 @@ impl EmbeddingConfigs { &self.0 } + pub fn into_inner(self) -> HashMap, Arc)> { + self.0 + } + /// Get the name of the default embedder configuration. /// /// The default embedder is determined as follows: