PyRIT icon indicating copy to clipboard operation
PyRIT copied to clipboard

[DRAFT] FEAT: Operator-Provided Delays between Requests (in Seconds) for PSO

Open nina-msft opened this issue 1 year ago • 0 comments

Description

Added a request_delay parameter to PSO (PromptSendingOrchestrator) which enables operators to provide how many seconds they would like to wait in between prompt requests being sent to the target. This is beneficial if hitting RateLimitingExceptions (HTTP Code 429) with the target.

Tests and Documentation

Single test added to check if sleeps were called adequately from prompt_normalizer.send_prompt_batch_to_target_async. Documentation to be added once design direction reviewed.

nina-msft avatar Aug 16 '24 00:08 nina-msft