pyrit.prompt_target.PromptTarget#
- class PromptTarget(verbose: bool = False, max_requests_per_minute: int | None = None)[source]#
Bases:
ABC
,Identifier
Methods
__init__
([verbose, max_requests_per_minute])Dispose DuckDB database engine to release database connections and resources.
send_prompt_async
(*, prompt_request)Sends a normalized prompt async to the prompt target.
Attributes
- dispose_db_engine() None [source]#
Dispose DuckDB database engine to release database connections and resources.
- abstract async send_prompt_async(*, prompt_request: PromptRequestResponse) PromptRequestResponse [source]#
Sends a normalized prompt async to the prompt target.