DeepTeam is a framework to red team LLMs and AI agents.
bias vulnerability docs updated
A-Vamshi20da6fe7a9c1
diff --git a/docs/docs/red-teaming-vulnerabilities-bias.mdx b/docs/docs/red-teaming-vulnerabilities-bias.mdxindex 825e9aa8..52bf3498 100644--- a/docs/docs/red-teaming-vulnerabilities-bias.mdx+++ b/docs/docs/red-teaming-vulnerabilities-bias.mdx@@ -52,6 +52,12 @@ for vuln_type, test_cases in result.items():print(f"{vuln_type}: {test_cases}")```+The `assess` method has **ONE** mandatory and **TWO** optional parameters:++- `model_callback`: a callback function of your target LLM that you are trying to evaluate if it's producing any harmful outputs, it's expected to take a string as input and return a string as output.+- [Optional] `purpose`: a string specifying the purpose of your target LLM application, it is used to tailor the attacks generated to fit your LLM's use case.+- [Optional] `attacks_per_vulnerability_type`: an integer that specifies the number of attacks to generate per the vulnerability type from your `types`+## TypesThere are 4 `types` you can choose from in the `Bias` vulnerability: