# CrossEncoderContentHandler

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/cross_encoders/sagemaker_endpoint/CrossEncoderContentHandler)

Content handler for CrossEncoder class.

## Signature

```python
CrossEncoderContentHandler()
```

## Properties

- `content_type`
- `accepts`

## Methods

- [`transform_input()`](https://reference.langchain.com/python/langchain-community/cross_encoders/sagemaker_endpoint/CrossEncoderContentHandler/transform_input)
- [`transform_output()`](https://reference.langchain.com/python/langchain-community/cross_encoders/sagemaker_endpoint/CrossEncoderContentHandler/transform_output)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/cross_encoders/sagemaker_endpoint.py#L9)