Skip to main content

MessageTransform

Defines a contract for message transformation.
Classes implementing this protocol should provide an apply_transform method that takes a list of messages and returns the transformed list.
Parameters:

Instance Methods

apply_transform

Applies a transformation to a list of messages.
Parameters: Returns:

get_logs

Creates the string including the logs of the transformation Alongside the string, it returns a boolean indicating whether the transformation had an effect or not.
Parameters: Returns: