v0.8.1
What's Changed
- We have a new cookbook on Precomputing turns for orchestrators
OpenAIChatTargets now have an argumentis_json_supportedto allow specifying if theresponse_formatrequest header should be set. This is supported by OpenAI, but not by several other providers that otherwise follow the OpenAI API.- There is now a Docker image for PyRIT users! Check out the steps outlined in the docker/README to try it out and feel free to provide feedback in GitHub issues or on Discord.
- The Tom-and-Jerry jailbreak template was added!
- When using AAD/Entra auth with
OpenAITarget, the target auto-refreshes the auth token periodically now. This addresses a bug where the token would get stale after a period of time. - We also addressed bugs that resulted in exceptions from triggered content filters and empty exception which should lead to a smoother experience.
Full list of changes
- MAINT post-v0.8.0 release update by @romanlutz in #837
- MAINT: Making JSON support configurable with OpenAIChatTargets by @rlundeen2 in #833
- FEAT: Add Dockerized PyRIT with Jupyter Notebook Support by @ErdemOzgen in #784
- FEAT: add Tom-and-Jerry jailbreak by @hagsmand in #838
- DOC: Adding cookbook around prepending turns by @rlundeen2 in #840
- FIX: Small fix in cookbook by @jsong468 in #849
- FIX catch content_filter with 200s instead of 500s by @romanlutz in #850
- FIX: Amended dockerfile and requirements.txt to unblock ADO pipelines by @jsong468 in #853
- FIX add zero width and insert punctuation converters to init.py file by @AnnaRevutsky in #848
- FIX: AAD Auth refresh bug with OpenAITargets by @rlundeen2 in #855
- FIX handle empty exception message in validation by @romanlutz in #859
New Contributors
- @ErdemOzgen made their first contribution in #784
- @AnnaRevutsky made their first contribution in #848
Full Changelog: v0.8.0...v0.8.1