pyrit.orchestrator.Orchestrator#

class Orchestrator(*, prompt_converters: list[PromptConverter] | None = None, verbose: bool = False)[source]#

Bases: ABC, Identifier

__init__(*, prompt_converters: list[PromptConverter] | None = None, verbose: bool = False)[source]#

Methods

__init__(*[, prompt_converters, verbose])

dispose_db_engine()

Dispose database engine to release database connections and resources.

get_identifier()

get_memory()

Retrieves the memory associated with this orchestrator.

get_score_memory()

Retrieves the scores of the PromptRequestPieces associated with this orchestrator.

dispose_db_engine() None[source]#

Dispose database engine to release database connections and resources.

get_identifier() dict[str, str][source]#
get_memory()[source]#

Retrieves the memory associated with this orchestrator.

get_score_memory()[source]#

Retrieves the scores of the PromptRequestPieces associated with this orchestrator. These exist if a scorer is provided to the orchestrator.