PyRIT
PyRIT copied to clipboard
FEAT: Adding New Generic HTTP Target
Description
Adding a new target for endpoints without APIs (like Bing Image Creator).
This is updated from three closed PRs:
https://github.com/Azure/PyRIT/pull/350 https://github.com/Azure/PyRIT/pull/351 https://github.com/Azure/PyRIT/pull/392
Also to make this work the SearchReplaceConverter was altered to use regex rather than .replace(). This allows for more flexibility in replacing characters/strings.
Tests and Documentation
Added notebook to test AOAI and BIC endpoints using HTTP Target and added unit tests