Make composite embedders experimental

This commit is contained in:
Louis Dureuil 2025-03-10 14:22:47 +01:00
parent 9a282be0a2
commit 54ee81bb09
No known key found for this signature in database
4 changed files with 50 additions and 1 deletions

View file

@ -118,6 +118,19 @@ impl RoFeatures {
.into())
}
}
pub fn check_composite_embedders(&self, disabled_action: &'static str) -> Result<()> {
if self.runtime.composite_embedders {
Ok(())
} else {
Err(FeatureNotEnabledError {
disabled_action,
feature: "composite embedders",
issue_link: "https://github.com/orgs/meilisearch/discussions/816",
}
.into())
}
}
}
impl FeatureData {