Open
Description
alibi detect
is considering init based config or something similar, which will be good to apply for explain
at some point as well.
Currently implementation details of alibi explainers are leaked in mlserver which we are trying to keep at minimum. Ideally mlserver should depend on interfaces and not concrete implementations.
For example If we can create the explainer from config / factory on the alibi side, mlserver doesnt need to depend on specific impl of explainers.
I am using a hack now to have a loose dependency injection by having a config map on mlserver side. However any change to alibi implementation details will require an (unnecessary) change to mlserver.