pyrit.orchestrator.OrchestratorResult#

class OrchestratorResult(conversation_id: str, objective: str, status: Literal['success', 'failure', 'pruned', 'adversarial_generation', 'in_progress', 'error'] = 'in_progress', score: Score = None, confidence: float = 0.1)[source]#

Bases: object

The result of an orchestrator.

__init__(conversation_id: str, objective: str, status: Literal['success', 'failure', 'pruned', 'adversarial_generation', 'in_progress', 'error'] = 'in_progress', score: Score = None, confidence: float = 0.1)[source]#

Methods

__init__(conversation_id, objective[, ...])

print_conversation_async()

Prints the conversation between the objective target and the adversarial chat, including the scores.

async print_conversation_async()[source]#

Prints the conversation between the objective target and the adversarial chat, including the scores.

Parameters:

prompt_target_conversation_id (str) – the conversation ID for the prompt target.