Abstract
Abstract
transformTransforms the prompt and model arguments into a specific format for sending to SageMaker.
The prompt to be transformed.
Additional arguments.
A promise that resolves to the formatted data for sending.
Abstract
transformGenerated using TypeDoc
A handler class to transform input from LLM to a format that SageMaker endpoint expects. Similarily, the class also handles transforming output from the SageMaker endpoint to a format that LLM class expects.
Example: