Formats the request body according to the input schema of the model. Returns bytes or seekable file like object in the format specified in the content_type request header.
format_request_payload(
self,
prompt: str,
model_kwargs: Dict,
api_type: AzureMLEndpointApiType = AzureMLEndpointApiType.dedicated
) -> Any