Skip to content

Added bias types to the Metrics - Similar to what is available in other vulnuerability metrics - #195

Open
neelkanani wants to merge 3 commits into
confident-ai:mainfrom
neelkanani:bias_metrics_types_added
Open

Added bias types to the Metrics - Similar to what is available in other vulnuerability metrics#195
neelkanani wants to merge 3 commits into
confident-ai:mainfrom
neelkanani:bias_metrics_types_added

Conversation

@neelkanani

Copy link
Copy Markdown

Metrics had a missing types for the system prompts for the evaluation, sometimes it was missing the evaluation and giving False for the True Bias responses as well.

@vercel

vercel Bot commented Feb 26, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

@A-Vamshi

Copy link
Copy Markdown
Collaborator

Hey @neelkanani, thanks for adding this to bias metric, could you also help
pass this in the bias metric initialization on the vulnerability file? Here's the link to where I'm referring to: https://github.com/confident-ai/deepteam/blob/main/deepteam/vulnerabilities/bias/bias.py#L278

@neelkanani

Copy link
Copy Markdown
Author

Ok let me check in details

@neelkanani

Copy link
Copy Markdown
Author

Hi @A-Vamshi ,
Please check I have updated the changes.
Let me know if anything else required

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