PyRIT
PyRIT copied to clipboard
FEAT Refactor Scoring Orchestrator to Init Scorer
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 :-)