pub type RerankerFactory = fn(PathBuf) -> Arc<dyn Reranker>;
A product supplies its optional model implementation without coupling other products to it.