Configures the hook from a validated model package, refusing an artifact trained for a different role.
Configures the hook from a validated model package, refusing an artifact trained for a different role.
The manifest has already proved which extractor these bytes expect, so the caller does not choose one: a package that reached this point carries its own, and passing the wrong one is no longer possible.