Transforms the input to a format that model can accept as the request Body. Should return bytes or seekable file like object in the format specified in the content_type request header.
transform_input(
self,
prompt: INPUT_TYPE,
model_kwargs: Dict
) -> bytes