Remove Embed::process_embeddings and have it be an inherent function of the type that uses it

This commit is contained in:
Louis Dureuil
2025-07-03 10:02:16 +02:00
parent 549dc985b8
commit a06cb1bfd6
3 changed files with 4 additions and 15 deletions

View File

@@ -1300,12 +1300,4 @@ impl<'doc> OnEmbed<'doc> for WriteGrenadOnEmbed<'_> {
crate::Error::UserError(crate::UserError::DocumentEmbeddingError(msg))
}
}
fn process_embeddings(
&mut self,
_metadata: crate::vector::session::Metadata<'doc>,
_embeddings: Vec<Embedding>,
) {
unimplemented!("unused")
}
}