transforms_util
autogen.agentchat.contrib.capabilities.transforms_util.should_transform_message
should_transform_message
Validates whether the transform should be applied according to the filter dictionary.
Name | Description |
---|---|
message | The message to validate. Type: dict[str, typing.Any] |
filter_dict | The filter dictionary to validate against. If None, the transform is always applied. Type: dict[str, typing.Any] | None |
exclude | Whether to exclude messages that match the filter dictionary. Type: bool |