pyrit.chat_message_normalizer.ChatMessageNop#
- class ChatMessageNop[source]#
Bases:
ChatMessageNormalizer
[list
[ChatMessage
]]- __init__()#
Methods
__init__
()normalize
(messages)returns the same list as was passed in
squash_system_message
(messages, squash_function)Combines the system message into the first user request.
- normalize(messages: list[ChatMessage]) list[ChatMessage] [source]#
returns the same list as was passed in