Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AI Evaluation] Quality evaluators should exclude tool call messages by default #6043

Open
shyamnamboodiripad opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
area-ai-eval Microsoft.Extensions.AI.Evaluation and related

Comments

@shyamnamboodiripad
Copy link
Contributor

See discussion here. Currently, all the evaluators included in the Microsoft.Extensions.AI.Evaluation.Quality package will render tool call messages as strings with prefix ToolCall and empty content.

Ideally, tool call messages should be excluded from the rendering by default since the Quality evaluators are designed to assess the quality / efficacy of the LLM responses in the user visible portion of the chat conversation. At the same time, the base classes in the Quality package can be used to author other (custom) derived evaluators that may want to take tool calls into account - so we should leave the door open for derived implementations to override the default rendering of messages.

FYI @peterwald

@shyamnamboodiripad shyamnamboodiripad added the area-ai-eval Microsoft.Extensions.AI.Evaluation and related label Mar 6, 2025
@shyamnamboodiripad shyamnamboodiripad self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ai-eval Microsoft.Extensions.AI.Evaluation and related
Projects
None yet
Development

No branches or pull requests

1 participant