Formats the response body according to the output schema of the model. Returns the data type that is received from the response.
format_response_payload(
self,
output: bytes,
api_type: AzureMLEndpointApiType = AzureMLEndpointApiType.dedicated
) -> Generation