ContentHandlerBase()A handler class to transform input from LLM and BaseChatModel to a
format that SageMaker endpoint expects.
Similarly, the class handles transforming output from the SageMaker endpoint to a format that LLM & BaseChatModel class expects.