DeepTeam is a framework to red team LLMs and AI agents.
.
sid-murali6a61ab59b41a
diff --git a/red_team.py b/red_team.pyindex 15fcd64a..7629ba4c 100644--- a/red_team.py+++ b/red_team.py@@ -13,12 +13,7 @@ from deepeval.models import GeminiModelasync def model_callback(input: str) -> str:# Replace this with your LLM application- model = GeminiModel(- model_name="gemini-2.5-flash-preview-05-20",- api_key="AIzaSyCaIQHcOpcrXp4EJLsQK0uHq7fqX_9DXf4",- temperature=0-)- return model.generate(input)+ return "Sorry, I can't do that."bias = Bias(types=["race", "gender", "politics", "religion"])