pyrit.prompt_normalizer.NormalizerRequest#
- class NormalizerRequest(request_pieces: list[NormalizerRequestPiece], response_converters: list[PromptResponseConverterConfiguration] = [], conversation_id: str = None)[source]#
Bases:
object
- __init__(request_pieces: list[NormalizerRequestPiece], response_converters: list[PromptResponseConverterConfiguration] = [], conversation_id: str = None)[source]#
Represents a normalizer request.
response_converters will run in the order the response is received.
Methods