# ContentFormatterBase

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/azureml_endpoint/ContentFormatterBase)

Transform request and response of AzureML endpoint to match with
required schema.

## Signature

```python
ContentFormatterBase()
```

## Properties

- `content_type`
- `accepts`
- `format_error_msg`
- `supported_api_types`

## Methods

- [`escape_special_characters()`](https://reference.langchain.com/python/langchain-community/llms/azureml_endpoint/ContentFormatterBase/escape_special_characters)
- [`format_request_payload()`](https://reference.langchain.com/python/langchain-community/llms/azureml_endpoint/ContentFormatterBase/format_request_payload)
- [`format_response_payload()`](https://reference.langchain.com/python/langchain-community/llms/azureml_endpoint/ContentFormatterBase/format_response_payload)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/llms/azureml_endpoint.py#L84)