Add EmbedderConfigs::into_inner

This commit is contained in:
Louis Dureuil 2024-06-12 14:02:12 +02:00
parent 3493093c4f
commit b368105272
No known key found for this signature in database

View File

@ -152,6 +152,10 @@ impl EmbeddingConfigs {
&self.0
}
pub fn into_inner(self) -> HashMap<String, (Arc<Embedder>, Arc<Prompt>)> {
self.0
}
/// Get the name of the default embedder configuration.
///
/// The default embedder is determined as follows: