pyrit.prompt_target.CrucibleTarget#
- class CrucibleTarget(*, endpoint: str, api_key: str = None, max_requests_per_minute: int | None = None)[source]#
Bases:
PromptTarget
- __init__(*, endpoint: str, api_key: str = None, max_requests_per_minute: int | None = None) None [source]#
Methods
__init__
(*, endpoint[, api_key, ...])dispose_db_engine
()Dispose DuckDB database engine to release database connections and resources.
get_identifier
()send_prompt_async
(**kwargs)Sends a normalized prompt async to the prompt target.
Attributes
supported_converters
- async send_prompt_async(**kwargs)#
Sends a normalized prompt async to the prompt target.