PyRIT icon indicating copy to clipboard operation
PyRIT copied to clipboard

FEAT Refactor Scoring Orchestrator to Init Scorer

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

Is your feature request related to a problem? Please describe.

Scoring Orchestrator currently requires a unique scorer be passed into each of its class functions individually instead of defining a scorer within the __init__ method.

Describe the solution you'd like

Move the scorer to the [Scoring Orchestrator's[(https://github.com/Azure/PyRIT/blob/main/pyrit/orchestrator/scoring_orchestrator.py) __init__ method and handle memory assignment. This should have updated unit tests, and everywhere that uses the Scoring Orchestrator should be updated.

Additional context

This will make for cleaner code :-)

nina-msft avatar Oct 02 '24 22:10 nina-msft