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

__init__(*, seed_prompt_group[, ...])

validate()

Attributes

conversation_id: str#
request_converter_configurations: list[PromptConverterConfiguration]#
response_converter_configurations: list[PromptConverterConfiguration]#
seed_prompt_group: SeedPromptGroup#
validate()[source]#