def METHOD_NAME(self, input_data: Any, explain_parameters: Dict) -> Explanation:
    if not self.alibi_explain_settings.explainer_batch:
        # if we get a list of strings, we can only explain the first elem and there
        # is no way of just sending a plain string in v2, it has to be in a list
        # as the encoding is List[str] with content_type "BYTES"
        # we also assume that the explain data will contain a batch dimension,
        # and in current implementation we will only explain the first data element.
        # this is for explainers that do not support batch, e.g. anchors
        input_data = input_data[0]
    return self._model.explain(input_data, **explain_parameters)