should_transform_message
Parameters:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
should_transform_message(
message: dict[str, Any],
filter_dict: dict[str, Any] | None,
exclude: bool
) -> bool
| 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 |