The Python Risk Identification Tool for generative AI (PyRIT) is an open access automation framework to empower security professionals and machine learning engineers to proactively find risks in their generative AI systems.
MIT License
1.91k
stars
366
forks
source link
FIX Added "Invalid prompt" OAI error to bad request exception handler #500
Description
This PR catches the "Invalid prompt" error from the OAI API in
handle_bad_request_exception()
. Thanks @rlundeen2 and @nina-msft!Tests and Documentation
Tests have not been written for this function.