pyrit.prompt_normalizer.NormalizerRequest#
- class NormalizerRequest(*, seed_prompt_group: SeedPromptGroup, request_converter_configurations: list[PromptConverterConfiguration] = [], response_converter_configurations: list[PromptConverterConfiguration] = [], conversation_id: str = None)[source]#
Bases:
ABC
Represents a single request sent to normalizer.
- __init__(*, seed_prompt_group: SeedPromptGroup, request_converter_configurations: list[PromptConverterConfiguration] = [], response_converter_configurations: list[PromptConverterConfiguration] = [], conversation_id: str = None)[source]#
Methods
Attributes
- request_converter_configurations: list[PromptConverterConfiguration]#
- response_converter_configurations: list[PromptConverterConfiguration]#
- seed_prompt_group: SeedPromptGroup#