Skip to content

Conversation

@rlundeen2
Copy link
Contributor

Several scorers were not adding scores to memory or validating during score_async. Amongst other things, this was causing a failure in our "sending a million prompts" cookbook because the composite scorer was not adding the score to memory.

This change centralizes that operation so that validate and memory addition are called in the base class, and the _score_async is now the abstract method.

Copy link
Contributor

@bashirpartovi bashirpartovi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @rlundeen2 , looks good to me, just a minor comment

@rlundeen2 rlundeen2 merged commit 76700c7 into Azure:main Jul 24, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants